public interface GlobalHandlerMessageContext
Modifier and Type | Method and Description |
---|---|
<T> T |
adapt(java.lang.Class<T> clazz)
Using this method to adapt the GlobalHandlerMessageContext to javax.xml.ws.handler.soap.SOAPMessageContext
or javax.xml.ws.handler.LogicalMessageContext.
|
boolean |
containsProperty(java.lang.String name)
Retrieve whether this GlobalHandlerMessageContext object contains the specified property.
|
java.lang.String |
getEngineType()
Retrieves the engine type of the processing.
|
java.lang.String |
getFlowType()
Retrieves flow type of the processing.
|
javax.servlet.http.HttpServletRequest |
getHttpServletRequest()
Retrieve HttpServletRequest from this GlobalHandlerMessageContext object
|
javax.servlet.http.HttpServletResponse |
getHttpServletResponse()
Retrieve HttpServletResponse from this GlobalHandlerMessageContext object.
|
java.lang.Object |
getProperty(java.lang.String name)
Retrieves value of the specified property.
|
java.util.Iterator<java.lang.String> |
getPropertyNames()
Retrieves all the property names available in this GlobalHandlerMessageContext object.
|
boolean |
isClientSide()
Retrieves whether the processing is in ClientSide.
|
boolean |
isServerSide()
Retrieves whether the processing is in ServerSide.
|
void |
removeProperty(java.lang.String name)
Remove the specified property from this GlobalHandlerMessageContext object.
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
Associates the specified value with the specified property.
|
boolean isServerSide()
boolean isClientSide()
java.lang.String getEngineType()
java.lang.String getFlowType()
java.lang.Object getProperty(java.lang.String name)
name
- the name of the property to retrieve.void setProperty(java.lang.String name, java.lang.Object value)
name
- the property with which the specified value is to be associated.value
- the value to be associated with the specified property.java.util.Iterator<java.lang.String> getPropertyNames()
void removeProperty(java.lang.String name)
name
- the property names which will be removed from this GlobalHandlerMessageContext.boolean containsProperty(java.lang.String name)
name
- the property namejavax.servlet.http.HttpServletRequest getHttpServletRequest()
javax.servlet.http.HttpServletResponse getHttpServletResponse()
<T> T adapt(java.lang.Class<T> clazz)
clazz
- the class which this GlobalHandlerMessageContext will be adpat to