public class RESTHttpMessageContext extends MessageContext implements IRESTHttpMessageContext
IMessageContext.AgentTypeEnum, IMessageContext.AuthMethodEnum, IMessageContext.ReqOriginEnum, IMessageContext.REQUEST_TYPE, IMessageContext.STAGE, IMessageContext.TYPEauthenticationMethod, m_transportCtx, requestOriginENTITY_DATAAGENT_CONTEXT, ASYNC_ORIGINAL_HTTP_REQUEST_HEADERS, ASYNC_REQ_REPLYTO_ELEM, AUTHN_METHOD, EMPTY_STRING, FAULT_PROCESSED_HEADERS, HTTP_SERVLET_REQUEST, IDENTITY_CONTEXT, IDENTITY_CONTEXT_ID, IDENTITY_CONTEXT_KEY, INITIALIZATION_CONTEXT_ENDPOINT_ADDRESS, IS_CLIENT_ACCESS_TOKEN, LEGACY_POLICY_OPERATION_MAP, LEGACY_POLICY_SET, LEGACYPOLICY_ENABLED, MESSAGE_CONTEXT_PROCESSED, OAUTH2_TOKEN_API_APPLICATION, OAUTH2_TOKEN_API_MODULE, OAUTH2_TOKEN_API_PATH, OAUTH2_TOKEN_API_REQUEST, OAUTH2_TOKEN_RESPONSE, OPERATION_ID, OPERATION_NAME, POLICY_REFERENCES_MAP, POLICY_SET, REMOTE_IP, REQUEST_BODY_ENCRYPTED, REQUEST_PROCESSED_HEADERS, REQUEST_URI, RESPONSE_PROCESSED_HEADERS, REST_PROCESS_CLIENT_RESPONSE, REST_PROCESS_RESPONSE, REST_REQUEST_CONTEXT, REST_RESPONSE_AUTH_HEADER, REST_RESPONSE_CONTEXT, SECURITY_SUBJECT, SESSION_ID, SESSION_SCT_TOKEN, USER_NAME, VIRTUAL_HOST_TYPE, WSDL_DEFINTION| Constructor and Description |
|---|
RESTHttpMessageContext() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getAllTransportHeaders()
returns All TransportHeaders of Transport Object
|
java.lang.String |
getAppName()
This method returns the JAX-RS Application Name.
|
javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> |
getHttpHeaders()
Get mutable HTTP headers from ClientRequest
|
java.lang.String |
getMethod()
Get HTTP method
|
ITransportContext |
getTransportContext()
Get transport context from the message context.
|
javax.ws.rs.core.UriInfo |
getUriInfo()
Get HTTP Context URI Information
|
void |
setAppName(java.lang.String appName)
This method sets the JAX-RS Application Name.
|
void |
setHttpHeaders(javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> headers)
Set HTTP headers from ClientRequest - these headers are specific to RESTMessageContext so it should be here instead of TransportContext
|
void |
setMethod(java.lang.String method)
Set HTTP Method
|
void |
setUriInfo(javax.ws.rs.core.UriInfo uriInfo)
Set HTTP Context URI Information
|
cloneFrom, getAllProperties, getAuthenticationMethod, getGUID, getInvocationStatus, getProperty, getRemoteAddr, getRequestOrigin, getRequestType, getServiceID, getServiceURL, getStage, getStartTime, getType, resetInvocationStatus, setAllProperties, setProperty, setRemoteAddr, setRequestType, setServiceID, setServiceURL, setStage, setStartTime, setTransportContext, setTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAuthenticationMethod, getGUID, getInvocationStatus, getRemoteAddr, getRequestOrigin, getRequestType, getServiceID, getServiceURL, getStage, getStartTime, getType, setRemoteAddr, setRequestType, setServiceID, setServiceURL, setStage, setStartTime, setTransportContext, setTypegetAllProperties, getProperty, setAllProperties, setPropertypublic void setAppName(java.lang.String appName)
IRESTHttpMessageContextThis method sets the JAX-RS Application Name. The name is the Servlet name if web.xml is available, else, it is the name of the class that extends from javax.ws.rs.core.Application abstract class.
setAppName in interface IRESTHttpMessageContextpublic java.lang.String getAppName()
IRESTHttpMessageContextThis method returns the JAX-RS Application Name. The name is the Servlet name if web.xml is available, else, it is the name of the class that extends from javax.ws.rs.core.Application abstract class.
getAppName in interface IRESTHttpMessageContextpublic ITransportContext getTransportContext()
IMessageContextgetTransportContext in interface IMessageContextpublic java.util.Map<java.lang.String,java.lang.String> getAllTransportHeaders()
throws WSMException
IRESTHttpMessageContextreturns All TransportHeaders of Transport Object
getAllTransportHeaders in interface IRESTHttpMessageContextWSMExceptionpublic void setMethod(java.lang.String method)
IRESTHttpMessageContextsetMethod in interface IRESTHttpMessageContextpublic java.lang.String getMethod()
IRESTHttpMessageContextgetMethod in interface IRESTHttpMessageContextpublic void setHttpHeaders(javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> headers)
IRESTHttpMessageContextsetHttpHeaders in interface IRESTHttpMessageContextpublic javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> getHttpHeaders()
IRESTHttpMessageContextgetHttpHeaders in interface IRESTHttpMessageContextpublic void setUriInfo(javax.ws.rs.core.UriInfo uriInfo)
IRESTHttpMessageContextsetUriInfo in interface IRESTHttpMessageContextpublic javax.ws.rs.core.UriInfo getUriInfo()
IRESTHttpMessageContextgetUriInfo in interface IRESTHttpMessageContext