org.apache.axis2.jaxws.handler
Class SoapMessageContext
java.lang.Object
org.apache.axis2.jaxws.handler.BaseMessageContext
org.apache.axis2.jaxws.handler.SoapMessageContext
- All Implemented Interfaces:
- Map<String,Object>, MessageContext, SOAPMessageContext
public class SoapMessageContext
- extends BaseMessageContext
- implements SOAPMessageContext
The SOAPMessageContext is the context handed to SOAP-based application handlers. It provides
access to the SOAP message that represents the request or response via SAAJ. It also allows
access to any properties that have been registered and set on the MessageContext.
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Fields inherited from interface javax.xml.ws.handler.MessageContext |
HTTP_REQUEST_HEADERS, HTTP_REQUEST_METHOD, HTTP_RESPONSE_CODE, HTTP_RESPONSE_HEADERS, INBOUND_MESSAGE_ATTACHMENTS, MESSAGE_OUTBOUND_PROPERTY, OUTBOUND_MESSAGE_ATTACHMENTS, PATH_INFO, QUERY_STRING, REFERENCE_PARAMETERS, SERVLET_CONTEXT, SERVLET_REQUEST, SERVLET_RESPONSE, WSDL_DESCRIPTION, WSDL_INTERFACE, WSDL_OPERATION, WSDL_PORT, WSDL_SERVICE |
Methods inherited from class org.apache.axis2.jaxws.handler.BaseMessageContext |
clear, containsKey, containsValue, entrySet, get, getScope, isEmpty, keySet, put, putAll, remove, setScope, size, values |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
SoapMessageContext
public SoapMessageContext(MessageContext messageCtx)
getHeaders
public Object[] getHeaders(QName qname,
JAXBContext jaxbcontext,
boolean allRoles)
- Specified by:
getHeaders
in interface SOAPMessageContext
getMessage
public SOAPMessage getMessage()
- Specified by:
getMessage
in interface SOAPMessageContext
checkAndUpdate
public void checkAndUpdate()
- Check the current (cached) SOAPMessage and make sure
its internals are consistent with when it was created.
If not, the Message is recreated.
getRoles
public Set<String> getRoles()
- Specified by:
getRoles
in interface SOAPMessageContext
setMessage
public void setMessage(SOAPMessage soapMessage)
- Specified by:
setMessage
in interface SOAPMessageContext
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.