public class UriEntry extends Object
| Constructor and Description |
|---|
UriEntry(String requestUri)
construct method
|
| Modifier and Type | Method and Description |
|---|---|
String |
get(int idx)
the specifiled part of the request uri
|
String |
getController() |
int |
getLength()
get the length of the parts
|
String |
getMethod() |
String |
getRequestUri() |
static UriEntry |
parseRequestUri(String requestUri)
parse a given request uri to generate a
new UriEntry instance and return it
|
void |
setController(String controller) |
void |
setMethod(String method) |
void |
setRequestUri(String requestUri) |
public UriEntry(String requestUri)
requestUri - public static UriEntry parseRequestUri(String requestUri)
requestUri - public String get(int idx)
idx - public int getLength()
public String getController()
public void setController(String controller)
public String getMethod()
public void setMethod(String method)
public String getRequestUri()
public void setRequestUri(String requestUri)
Copyright © 2016. All Rights Reserved.