Save This Page
Home » xml-commons-external-1.4.01-src » javax » xml » rpc » handler » [javadoc | source]
javax.xml.rpc.handler
public interface: MessageContext [javadoc | source]

All Known Implementing Classes:
    SOAPMessageContext

This interface abstracts the message context that is processed by a handler in the handle method. The MessageContext interface provides methods to manage a property set. MessageContext properties enable handlers in a handler chain to share processing related state.
Method from javax.xml.rpc.handler.MessageContext Summary:
containsProperty,   getProperty,   getPropertyNames,   removeProperty,   setProperty
Method from javax.xml.rpc.handler.MessageContext Detail:
 public boolean containsProperty(String name)
    Returns true if the MessageContext contains a property with the specified name.
 public Object getProperty(String name)
    Gets the value of a specific property from the MessageContext
 public Iterator getPropertyNames()
    Returns an Iterator view of the names of the properties in this MessageContext
 public  void removeProperty(String name)
    Removes a property (name-value pair) from the MessageContext
 public  void setProperty(String name,
    Object value)
    Sets the name and value of a property associated with the MessageContext. If the MessageContext contains a value of the same property, the old value is replaced.