public interface IRESTHttpMessageContext extends IHttpMessageContext
IMessageContext.AgentTypeEnum, IMessageContext.AuthMethodEnum, IMessageContext.ReqOriginEnum, IMessageContext.REQUEST_TYPE, IMessageContext.STAGE, IMessageContext.TYPE
AGENT_CONTEXT, ASYNC_ORIGINAL_HTTP_REQUEST_HEADERS, ASYNC_REQ_REPLYTO_ELEM, AUTHN_METHOD, FAULT_PROCESSED_HEADERS, HTTP_SERVLET_REQUEST, IDENTITY_CONTEXT, IDENTITY_CONTEXT_ID, IDENTITY_CONTEXT_KEY, INITIALIZATION_CONTEXT_ENDPOINT_ADDRESS, LEGACY_POLICY_OPERATION_MAP, LEGACY_POLICY_SET, LEGACYPOLICY_ENABLED, MESSAGE_CONTEXT_PROCESSED, OPERATION_ID, OPERATION_NAME, POLICY_REFERENCES_MAP, POLICY_SET, REMOTE_IP, REQUEST_BODY_ENCRYPTED, REQUEST_PROCESSED_HEADERS, RESPONSE_PROCESSED_HEADERS, SECURITY_SUBJECT, SESSION_ID, SESSION_SCT_TOKEN, USER_NAME, VIRTUAL_HOST_TYPE, WSDL_DEFINTION
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
|
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
|
getAuthenticationMethod, getGUID, getInvocationStatus, getRemoteAddr, getRequestOrigin, getRequestType, getServiceID, getServiceURL, getStage, getStartTime, getTransportContext, getType, setRemoteAddr, setRequestType, setServiceID, setServiceURL, setStage, setStartTime, setTransportContext, setType
getAllProperties, getProperty, setAllProperties, setProperty
void setAppName(java.lang.String appName)
This 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.
String
- appNamejava.lang.String getAppName()
This 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.
java.util.Map<java.lang.String,java.lang.String> getAllTransportHeaders() throws WSMException
returns All TransportHeaders of Transport Object
WSMException
void setMethod(java.lang.String method)
method
-java.lang.String getMethod()
void setHttpHeaders(javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> headers)
headers
-javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> getHttpHeaders()
void setUriInfo(javax.ws.rs.core.UriInfo uriInfo)
method
-javax.ws.rs.core.UriInfo getUriInfo()