com.ibm.wsspi.webservices.rpc.handler

Interface MessageContext

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

  1. public interface MessageContext
  2. extends javax.xml.rpc.handler.MessageContext
Extension of javax.xml.rpc.handler.MessageContext. Provides additional processing information.

Method Summary

Modifier and Type Method and Description
  1. java.lang.Object
getPortProperty(java.lang.String name)
gets the named property from the port object associated with this MessageContext
  1. RPCContext
getRPCContext()
  1. boolean
isClient()
  1. boolean
isHighFidelity()
gets the value of HighFidelity.
  1. boolean
isReponsePath()
Deprecated. 9/1/2005 Please use isResponsePath instead
  1. boolean
isRequestPath()
  1. boolean
isResponsePath()
  1. boolean
isServer()
  1. 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

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

isResponsePath

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

isReponsePath

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

isClient

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

isServer

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

isHighFidelity

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

setHighFidelity

  1. 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:

getRPCContext

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

getPortProperty

  1. 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