public final class URL extends Object
Modifier and Type | Field and Description |
---|---|
static String |
NO_VALUE
Token constant used to represent option keys that have no values.
|
static String |
SCHEME_DPT |
static String |
SCHEME_DPTS |
static String |
SCHEME_HTTPC
Not supported; included for backwards compatibility.
|
static String |
SCHEME_HTTPCS
Not supported; included for backwards compatibility.
|
Modifier and Type | Method and Description |
---|---|
String |
getHost() |
Hashtable |
getOptions() |
String |
getOptionsString()
Fetch the option-string segment formatted ready for inclusion in a URL
|
String |
getPath() |
int |
getPortNumber() |
String |
getScheme() |
String |
toString() |
public static final String SCHEME_DPT
public static final String SCHEME_DPTS
public static final String SCHEME_HTTPC
public static final String SCHEME_HTTPCS
public static String NO_VALUE
public URL(String rawUrlStr) throws MalformedURLException
MalformedURLException
public String getScheme()
public String getHost()
public String getPath()
public int getPortNumber()
public Hashtable getOptions()
public String getOptionsString()
Copyright © 2016 Push Technology Ltd. All Rights Reserved.