public class RequestUri
extends java.lang.Object
Constructor and Description |
---|
RequestUri(java.lang.String request_method,
java.lang.String request_url) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMethod() |
java.lang.String[] |
getParamsList() |
java.lang.String[] |
getPath() |
java.lang.String |
getUrl() |
int |
getVersion() |
boolean |
isApiUrl() |
boolean |
isGetMethod() |
boolean |
isHeadMethod() |
boolean |
isPostMethod() |
java.lang.String |
toString() |
public RequestUri(java.lang.String request_method, java.lang.String request_url) throws java.net.MalformedURLException
java.net.MalformedURLException
public java.lang.String getUrl()
public boolean isApiUrl()
public java.lang.String getMethod()
public boolean isGetMethod()
public boolean isPostMethod()
public boolean isHeadMethod()
public java.lang.String[] getPath()
public java.lang.String[] getParamsList()
public int getVersion()
public java.lang.String toString()
toString
in class java.lang.Object