|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.rest.util.ParsedURI
public class ParsedURI
Help class to assist in uri parsing for REST requests.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
| Constructor Summary | |
|---|---|
ParsedURI(ComponentResolver pResolver,
DynamoHttpServletRequest pRequest,
java.lang.String pRequiredServletPrefix)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getResourceContainer()
Returns the portion of the URI which is the resource container |
java.lang.String[] |
getResourceProperty()
Returns an array of resource properties and subproperties |
java.lang.String |
getURI()
Returns the URI string |
protected void |
parseURI(ComponentResolver pResolver,
DynamoHttpServletRequest pRequest)
Parses a uri into parts. |
void |
setResourceContainer(java.lang.String pResoureContainer)
Sets the resource container property |
void |
setResourceProperty(java.lang.String[] pItemProperty)
Sets the array of item properties from the URI |
void |
setURI(java.lang.String pURI)
Sets the URI string |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail |
|---|
public ParsedURI(ComponentResolver pResolver,
DynamoHttpServletRequest pRequest,
java.lang.String pRequiredServletPrefix)
the - component resolverpRequest - the servlet requestpResponse - the servlet response| Method Detail |
|---|
public java.lang.String getURI()
public void setURI(java.lang.String pURI)
pURI - the uri string to setpublic java.lang.String getResourceContainer()
public void setResourceContainer(java.lang.String pResoureContainer)
pResoureContainer - the resource container string to setpublic java.lang.String[] getResourceProperty()
public void setResourceProperty(java.lang.String[] pItemProperty)
pItemProperty - the itemProperty to set
protected void parseURI(ComponentResolver pResolver,
DynamoHttpServletRequest pRequest)
pResolver - the component resolver used to find componentspRequest - the servlet request
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||