com.ibm.wsspi.webservices.rpc.handler

Interface MessageContext

  • All Superinterfaces:
    javax.xml.rpc.handler.MessageContext


    public interface MessageContext
    extends javax.xml.rpc.handler.MessageContext
    Extension of javax.xml.rpc.handler.MessageContext. Provides additional processing information.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.Object getPortProperty(java.lang.String name)
      gets the named property from the port object associated with this MessageContext
      RPCContext getRPCContext() 
      boolean isClient() 
      boolean isHighFidelity()
      gets the value of HighFidelity.
      boolean isReponsePath()
      Deprecated. 
      9/1/2005 Please use isResponsePath instead
      boolean isRequestPath() 
      boolean isResponsePath() 
      boolean isServer() 
      void setHighFidelity(boolean highFidelity)
      allows setting of the HighFidelity field.
      • Methods inherited from interface javax.xml.rpc.handler.MessageContext

        containsProperty, getProperty, getPropertyNames, removeProperty, setProperty
    • Method Detail

      • isRequestPath

        boolean isRequestPath()
        Returns:
        true if processing is on the request path.
      • isResponsePath

        boolean isResponsePath()
        Returns:
        true if processing is on the response path.
      • isReponsePath

        boolean isReponsePath()
        Deprecated. 9/1/2005 Please use isResponsePath instead
        Returns:
        true if processing is on the response path.
      • isClient

        boolean isClient()
        Returns:
        true if processing is for a client role.
      • isServer

        boolean isServer()
        Returns:
        true if processing is for a server role.
      • isHighFidelity

        boolean isHighFidelity()
        gets the value of HighFidelity.
        Returns:
        true if high fidelity mode is on.
        See Also:
        setHighFidelity(boolean)
      • setHighFidelity

        void setHighFidelity(boolean highFidelity)
        allows setting of the HighFidelity field.
        Parameters:
        highFidelity - boolean describing the High Fidelity value to be set. If high fidelity is true, the message boday is deserialized into a full saaj tree, and the dispatcher code causes the saaj tree to be transformed into java business objects. If high fidelity is false, the runtime attempts to deserialize the message directly into java business objects. In general, high fidelity=false is more performant because the message is immediately deserialized into the final form. However, handlers that query/inspect the message body will nullify the performance gain because the runtime will be forced to re-transform the java business objects into an SAAJ tree. Setting high fidelity=true is safer if handlers are required to inspect the soap body.
        See Also:
        isHighFidelity()
      • getRPCContext

        RPCContext getRPCContext()
        Returns:
        context inforation about the remote procedure call described by the current message.
      • getPortProperty

        java.lang.Object getPortProperty(java.lang.String name)
        gets the named property from the port object associated with this MessageContext
        Parameters:
        name - String name of the property to retreive
        Returns:
        Object associated with the name on the port
IBM WebSphere Application ServerTM
Release 8.5