|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.context.AbstractContext
org.apache.axis2.context.MessageContext
MessageContext holds service specific state information.
Field Summary | |
org.apache.axiom.attachments.Attachments |
attachments
|
static String |
CHARACTER_SET_ENCODING
Field CHARACTER_SET_ENCODING |
static ThreadLocal |
currentMessageContext
A place to store the current MessageContext |
static String |
DEFAULT_CHAR_SET_ENCODING
Field DEFAULT_CHAR_SET_ENCODING. |
int |
FLOW
|
static int |
IN_FAULT_FLOW
|
static int |
IN_FLOW
|
protected Options |
options
|
static int |
OUT_FAULT_FLOW
|
static int |
OUT_FLOW
|
boolean |
outputWritten
|
static String |
REMOTE_ADDR
|
static String |
TRANSPORT_HEADERS
|
static String |
TRANSPORT_IN
Field TRANSPORT_IN |
static String |
TRANSPORT_NON_BLOCKING
To invoke fireAndforget method we have to hand over transport sending logic to a thread other wise user has to wait till it get transport response (in the case of HTTP its HTTP 202) |
static String |
TRANSPORT_OUT
Field TRANSPORT_OUT |
static String |
TRANSPORT_SUCCEED
Field TRANSPORT_SUCCEED |
static String |
UTF_16
Field UTF_16. |
static String |
UTF_8
Field UTF_8. |
Fields inherited from class org.apache.axis2.context.AbstractContext |
COPY_PROPERTIES, lastTouchedTime, parent, properties |
Constructor Summary | |
MessageContext()
|
Methods inherited from class org.apache.axis2.context.AbstractContext |
getLastTouchedTime, getParent, setParent, setProperties, touch |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static ThreadLocal currentMessageContext
protected Options options
public static final int IN_FLOW
public static final int IN_FAULT_FLOW
public static final int OUT_FLOW
public static final int OUT_FAULT_FLOW
public static final String REMOTE_ADDR
public static final String TRANSPORT_HEADERS
public org.apache.axiom.attachments.Attachments attachments
public static final String TRANSPORT_OUT
public static final String TRANSPORT_IN
public static final String CHARACTER_SET_ENCODING
public static final String UTF_8
public static final String UTF_16
public static final String TRANSPORT_SUCCEED
public static final String DEFAULT_CHAR_SET_ENCODING
public int FLOW
public static final String TRANSPORT_NON_BLOCKING
public boolean outputWritten
Constructor Detail |
public MessageContext()
Method Detail |
public static MessageContext getCurrentMessageContext()
public static void setCurrentMessageContext(MessageContext ctx)
public void pause()
public AxisOperation getAxisOperation()
public AxisService getAxisService()
public AxisServiceGroup getAxisServiceGroup()
public ConfigurationContext getConfigurationContext()
public int getCurrentHandlerIndex()
public int getCurrentPhaseIndex()
public org.apache.axiom.soap.SOAPEnvelope getEnvelope()
public ArrayList getExecutionChain()
public EndpointReference getFaultTo()
public EndpointReference getFrom()
public String getMessageID()
public Parameter getModuleParameter(String key, String moduleName, HandlerDescription handler)
key
- :
Parameter NamemoduleName
- :
Name of the modulehandler
- HandlerDescription
Parameter
public OperationContext getOperationContext()
public Parameter getParameter(String key)
key
-
Parameter
public void setProperty(String name, Object value)
setProperty
in class AbstractContext
name
- name of the propertyvalue
- the value to setpublic Object getProperty(String name)
getProperty
in class AbstractContext
name
- name of the property to search for
public Map getProperties()
setProperty(String, Object)
. In addition,
any changes to the properties are not reflected on this map.
getProperties
in class AbstractContext
public RelatesTo[] getRelationships()
public RelatesTo getRelatesTo(String type)
public RelatesTo getRelatesTo()
public EndpointReference getReplyTo()
public ServiceContext getServiceContext()
public String getServiceContextID()
public ServiceGroupContext getServiceGroupContext()
public String getServiceGroupContextId()
public SessionContext getSessionContext()
public void setSessionContext(SessionContext sessionContext)
public String getSoapAction()
public EndpointReference getTo()
public TransportInDescription getTransportIn()
public TransportOutDescription getTransportOut()
public String getWSAAction()
public boolean isDoingMTOM()
public boolean isDoingREST()
public boolean isDoingSwA()
public boolean isNewThreadRequired()
public boolean isOutputWritten()
public boolean isPaused()
public void setPaused(boolean paused)
public boolean isProcessingFault()
public boolean isResponseWritten()
public boolean isSOAP11()
public boolean isServerSide()
public AxisMessage getAxisMessage()
public void setAxisMessage(AxisMessage axisMessage)
public void setAxisOperation(AxisOperation axisOperation)
public void setAxisService(AxisService axisService)
public void setAxisServiceGroup(AxisServiceGroup axisServiceGroup)
public void setConfigurationContext(ConfigurationContext context)
context
- public void setCurrentHandlerIndex(int currentHandlerIndex)
public void setCurrentPhaseIndex(int currentPhaseIndex)
public void setDoingMTOM(boolean b)
b
- public void setDoingREST(boolean b)
b
- public void setDoingSwA(boolean b)
b
- public void setEnvelope(org.apache.axiom.soap.SOAPEnvelope envelope) throws AxisFault
envelope
-
AxisFault
public void setExecutionChain(ArrayList executionChain)
executionChain
- public void setFaultTo(EndpointReference reference)
reference
- public void setFrom(EndpointReference reference)
reference
- public void setMessageID(String messageId)
messageId
- public void setNewThreadRequired(boolean b)
b
- public void setOperationContext(OperationContext context)
context
- public void setOutputWritten(boolean b)
b
- public void setProcessingFault(boolean b)
b
- public void addRelatesTo(RelatesTo reference)
reference
- public void setReplyTo(EndpointReference referance)
referance
- public void setResponseWritten(boolean b)
b
- public void setServerSide(boolean b)
b
- public void setServiceContext(ServiceContext context)
context
- public void setServiceContextID(String serviceContextID)
serviceContextID
- public void setServiceGroupContext(ServiceGroupContext serviceGroupContext)
public void setServiceGroupContextId(String serviceGroupContextId)
public void setSoapAction(String soapAction)
soapAction
- public void setTo(EndpointReference referance)
referance
- public void setTransportIn(TransportInDescription in)
in
- public void setTransportOut(TransportOutDescription out)
out
- public void setWSAAction(String actionURI)
public void setWSAMessageId(String messageID)
public int getFLOW()
public void setFLOW(int FLOW)
public Options getOptions()
public void setOptions(Options options)
options
- the options to setpublic String getIncomingTransportName()
public void setIncomingTransportName(String incomingTransportName)
public void setRelationships(RelatesTo[] list)
public org.apache.neethi.Policy getEffectivePolicy()
public boolean isEngaged(QName moduleName)
public boolean isHeaderPresent()
public void setAttachmentMap(org.apache.axiom.attachments.Attachments attachments)
attachments
- public org.apache.axiom.attachments.Attachments getAttachmentMap()
public void addAttachment(String contentID, javax.activation.DataHandler dataHandler)
public String addAttachment(javax.activation.DataHandler dataHandler)
public javax.activation.DataHandler getAttachment(String contentID)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |