|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pl.psnc.dl.ege.webapp.request.RequestResolver
public abstract class RequestResolver
Abstract base class for resolving request for WS operation.
Field Summary | |
---|---|
static java.lang.String |
COLON
|
static java.lang.String |
COMMA
|
protected java.lang.Object |
data
|
static java.lang.String |
DUO_UNDERSCORE
|
protected Method |
method
|
protected OperationId |
operation
|
protected javax.servlet.http.HttpServletRequest |
request
|
static java.lang.String |
SEMICOLON
|
static java.lang.String |
SLASH
|
static java.lang.String |
SPLITTER
|
static java.lang.String |
UNDERSCORE
|
Constructor Summary | |
---|---|
RequestResolver()
|
Method Summary | |
---|---|
DataType |
decodeDataType(java.lang.String uriPart)
Decodes URI part into data type. |
java.lang.String |
encodeDataType(DataType dataType)
Encodes specified data type into URI proper form. |
java.lang.Object |
getData()
Returns decoded operation data (if it is needed), e.g. data types. |
abstract java.lang.String |
getLocale()
Should return local id of request. |
OperationId |
getOperationId()
Properly formed request should inform about operation to perform. |
javax.servlet.http.HttpServletRequest |
getRequest()
Returns reference to request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String UNDERSCORE
public static final java.lang.String DUO_UNDERSCORE
public static final java.lang.String COLON
public static final java.lang.String SPLITTER
public static final java.lang.String SLASH
public static final java.lang.String COMMA
public static final java.lang.String SEMICOLON
protected Method method
protected javax.servlet.http.HttpServletRequest request
protected OperationId operation
protected java.lang.Object data
Constructor Detail |
---|
public RequestResolver()
Method Detail |
---|
public OperationId getOperationId()
public java.lang.Object getData()
public javax.servlet.http.HttpServletRequest getRequest()
public abstract java.lang.String getLocale()
public java.lang.String encodeDataType(DataType dataType)
[format]:[mime_part1]:[mime_part2]
dataType
-
public DataType decodeDataType(java.lang.String uriPart)
[format]:[mime_part1]:[mime_part2]
uriPart
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |