|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.jaxws.core.MessageContext
public class MessageContext
The org.apache.axis2.jaxws.core.MessageContext
is an interface that extends the
JAX-WS 2.0 javax.xml.ws.handler.MessageContext
defined in the spec. This
encapsulates all of the functionality needed of the MessageContext for the other JAX-WS spec
pieces (the handlers for example) and also provides the needed bits of contextual information for
the rest of the JAX-WS implementation.
Constructor Summary | |
---|---|
MessageContext()
Construct a MessageContext without a prior Axis2 MessageContext (usage outbound dispatch/proxy) |
|
MessageContext(MessageContext mc)
Construct a MessageContext with a prior MessageContext (usage inbound client/server or outbound server) |
Method Summary | |
---|---|
boolean |
containsKey(java.lang.Object key)
|
MessageContext |
getAxisMessageContext()
|
AxisFault |
getCausedByException()
|
java.lang.ClassLoader |
getClassLoader()
|
EndpointDescription |
getEndpointDescription()
|
InvocationContext |
getInvocationContext()
|
java.lang.Throwable |
getLocalException()
The local exception is the Throwable object held on the Message from a problem that occurred due to something other than the server. |
MEPContext |
getMEPContext()
|
Message |
getMessage()
|
Service.Mode |
getMode()
|
OperationDescription |
getOperationDescription()
|
QName |
getOperationName()
|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
|
java.lang.Object |
getProperty(java.lang.String key)
|
boolean |
isMaintainSession()
Used to determine whether or not session state has been enabled. |
boolean |
isOutbound()
|
boolean |
isServer()
|
void |
setCausedByException(AxisFault t)
|
void |
setEndpointDescription(EndpointDescription ed)
|
void |
setInvocationContext(InvocationContext ic)
|
void |
setLocalException(java.lang.Throwable t)
The local exception is the Throwable object held on the Message from a problem that occurred due to something other than the server. |
void |
setMEPContext(MEPContext mepCtx)
Set the wrapper MEPContext. |
void |
setMessage(Message msg)
|
void |
setMode(Service.Mode m)
|
void |
setOperationDescription(OperationDescription od)
|
void |
setOperationName(QName op)
|
void |
setOutbound(boolean isOutbound)
|
void |
setProperties(java.util.Map<java.lang.String,java.lang.Object> _properties)
|
java.lang.Object |
setProperty(java.lang.String key,
java.lang.Object value)
|
void |
setServer(boolean isServer)
Indicate if server role |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageContext()
public MessageContext(MessageContext mc) throws WebServiceException
mc
-
WebServiceException
Method Detail |
---|
public InvocationContext getInvocationContext()
public void setInvocationContext(InvocationContext ic)
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
public void setProperties(java.util.Map<java.lang.String,java.lang.Object> _properties)
public java.lang.Object getProperty(java.lang.String key)
public boolean containsKey(java.lang.Object key)
public java.lang.Object setProperty(java.lang.String key, java.lang.Object value)
public EndpointDescription getEndpointDescription()
public void setEndpointDescription(EndpointDescription ed)
public OperationDescription getOperationDescription()
public void setOperationDescription(OperationDescription od)
public Service.Mode getMode()
public void setMode(Service.Mode m)
public QName getOperationName()
public void setOperationName(QName op)
public void setMessage(Message msg)
public Message getMessage()
public MessageContext getAxisMessageContext()
public java.lang.ClassLoader getClassLoader()
public boolean isMaintainSession()
public java.lang.Throwable getLocalException()
public void setLocalException(java.lang.Throwable t)
t
- Throwable
public void setCausedByException(AxisFault t)
t
- public AxisFault getCausedByException()
public void setMEPContext(MEPContext mepCtx)
mepCtx
- public MEPContext getMEPContext()
public boolean isOutbound()
public void setOutbound(boolean isOutbound)
isOutbound
- true if outbound MessageContextpublic boolean isServer()
public void setServer(boolean isServer)
isServer
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |