|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageContext
Extension of javax.xml.rpc.handler.MessageContext. Provides additional processing information.
Method Summary | |
---|---|
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 |
---|
boolean isRequestPath()
true
if processing is on the request path.boolean isResponsePath()
true
if processing is on the response path.boolean isReponsePath()
true
if processing is on the response path.boolean isClient()
true
if processing is for a client role.boolean isServer()
true
if processing is for a server role.boolean isHighFidelity()
true
if high fidelity mode is on.setHighFidelity(boolean)
void setHighFidelity(boolean highFidelity)
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.isHighFidelity()
RPCContext getRPCContext()
java.lang.Object getPortProperty(java.lang.String name)
name
- String name of the property to retreive
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |