org.apache.axis2.jaxws.handler
Class SoapMessageContext

java.lang.Object
  extended by org.apache.axis2.jaxws.handler.BaseMessageContext
      extended by org.apache.axis2.jaxws.handler.SoapMessageContext
All Implemented Interfaces:
java.util.Map<java.lang.String,java.lang.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 Class Summary
 
Nested classes/interfaces inherited from interface javax.xml.ws.handler.MessageContext
MessageContext.Scope
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Field Summary
 
Fields inherited from class org.apache.axis2.jaxws.handler.BaseMessageContext
messageCtx
 
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
 
Constructor Summary
SoapMessageContext(MessageContext messageCtx)
           
 
Method Summary
 java.lang.Object[] getHeaders(QName qname, javax.xml.bind.JAXBContext jaxbcontext, boolean allRoles)
           
 SOAPMessage getMessage()
           
 java.util.Set<java.lang.String> getRoles()
           
 void setMessage(SOAPMessage soapmessage)
           
 
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 javax.xml.ws.handler.MessageContext
getScope, setScope
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

SoapMessageContext

public SoapMessageContext(MessageContext messageCtx)
Method Detail

getHeaders

public java.lang.Object[] getHeaders(QName qname,
                                     javax.xml.bind.JAXBContext jaxbcontext,
                                     boolean allRoles)
Specified by:
getHeaders in interface SOAPMessageContext

getMessage

public SOAPMessage getMessage()
Specified by:
getMessage in interface SOAPMessageContext

getRoles

public java.util.Set<java.lang.String> getRoles()
Specified by:
getRoles in interface SOAPMessageContext

setMessage

public void setMessage(SOAPMessage soapmessage)
Specified by:
setMessage in interface SOAPMessageContext


Copyright © 2007 Apache Web Services Project. All Rights Reserved.