1 package com.android.hotspot2.osu.commands; 2 3 import com.android.hotspot2.omadm.XMLNode; 4 5 /* 6 <spp:sppPostDevDataResponse xmlns:spp="http://www.wi-fi.org/specifications/hotspot2dot0/v1.0/spp" 7 spp:sessionID="D74A7B03005645DAA516191DEE77B94F" spp:sppStatus="OK" 8 spp:sppVersion="1.0"> 9 <spp:exec> 10 <spp:launchBrowserToURI> 11 https://subscription-server.r2-testbed-rks.wi-fi.org:8443/web/ruckuswireles/home/-/onlinesignup/subscriberDetails?Credentials=USERNAME_PASSWORD&SessionID=D74A7B03005645DAA516191DEE77B94F&RedirectURI=http://127.0.0.1:12345/index.htm&UpdateMethod=SPP-ClientInitiated 12 </spp:launchBrowserToURI> 13 </spp:exec> 14 </spp:sppPostDevDataResponse> 15 */ 16 17 public class BrowserURI implements OSUCommandData { 18 private final String mURI; 19 20 public BrowserURI(XMLNode commandNode) { 21 mURI = commandNode.getText(); 22 } 23 24 public String getURI() { 25 return mURI; 26 } 27 28 @Override 29 public String toString() { 30 return "URI: " + mURI; 31 } 32 } 33