public interface GenericTransportHandler
GenericTransportHandler
class.Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(CommonAttribute attribute)
Gets the attribute.
|
java.util.Iterator<CommonAttribute> |
getAttributeNames()
Gets the attribute names.
|
java.util.Map<java.lang.String,java.lang.Object[]> |
getAttributesMap()
Gets the attributes map.
|
java.util.Locale |
getLocale() |
java.lang.String[] |
getParameterValues(java.lang.String parameterName)
Gets the parameter values.
|
java.util.Map<java.lang.String,java.lang.String> |
getPropertiesMap()
Gets the properties map.
|
java.util.Map<java.lang.String,java.lang.String> |
getPropertiesMap(GenericTransportContext.PARAM_TYPE type)
Gets the properties map.
|
java.lang.String |
getRequestMethod()
The method returns the type of method used to hit the OAM server
for access.
|
java.lang.String |
getRequestURI()
Gets the request uri.
|
GenericTransportStore |
getSessionStore()
Creates a session store using the attributes stored in the session.
|
GenericTransportToken |
getToken(java.lang.String tokenName,
boolean isVersioned)
Gets the token.
|
java.util.List<GenericTransportToken> |
getTokens()
Returns the list of tokens those were set using setToken().
|
java.lang.Object |
getTransportRequest() |
java.lang.Object |
getTransportSession(boolean crate) |
java.lang.String |
getUserAgent()
Returns the clients useragent information
|
void |
setAttribute(CommonAttribute attribute,
java.lang.Object value)
Sets the attribute.
|
void |
setToken(GenericTransportToken token,
boolean isVersioned)
Sets the token.
|
void |
unsetToken(GenericTransportToken token)
Unset token providing the token object
|
void |
unsetToken(java.lang.String tokenName)
Unset token.
|
java.util.Map<java.lang.String,java.lang.Object[]> getAttributesMap()
java.lang.String getRequestURI()
java.util.Map<java.lang.String,java.lang.String> getPropertiesMap()
java.util.Map<java.lang.String,java.lang.String> getPropertiesMap(GenericTransportContext.PARAM_TYPE type)
GenericTransportToken getToken(java.lang.String tokenName, boolean isVersioned)
token
- the transport tokenisVersioned
- if the token is a versioned onevoid setToken(GenericTransportToken token, boolean isVersioned)
token
- the transport tokenisVersioned
- if the token is a versioned onejava.lang.String[] getParameterValues(java.lang.String parameterName)
parameterName
- the parameter namevoid setAttribute(CommonAttribute attribute, java.lang.Object value)
name
- the namevalue
- the valuejava.lang.Object getAttribute(CommonAttribute attribute)
name
- the namevoid unsetToken(java.lang.String tokenName)
tokenName
- the token namevoid unsetToken(GenericTransportToken token)
token
- java.util.Iterator<CommonAttribute> getAttributeNames()
java.lang.Object getTransportSession(boolean crate)
GenericTransportStore getSessionStore()
SessionStore
objectjava.lang.Object getTransportRequest()
java.util.Locale getLocale()
java.lang.String getUserAgent()
java.util.List<GenericTransportToken> getTokens()
java.lang.String getRequestMethod()