|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis.handlers.BasicHandler
org.apache.axis.message.addressing.handler.AddressingHandler
public class AddressingHandler
Class AddressingHandler
| Field Summary | |
|---|---|
protected static org.apache.commons.logging.Log |
log
|
| Fields inherited from class org.apache.axis.handlers.BasicHandler |
|---|
makeLockable, name, options |
| Constructor Summary | |
|---|---|
AddressingHandler()
|
|
| Method Summary | |
|---|---|
protected void |
configureCall(org.apache.axis.client.Call call,
org.apache.axis.MessageContext oldContext)
Override this method to prepare the new call, for instance to add properties from the old MessageContext that may be needed by other handlers. |
protected void |
forwardMessage(EndpointReferenceType epr,
org.apache.axis.Message msg)
|
protected org.apache.axis.client.Service |
getService(org.apache.axis.MessageContext msgContext)
Override this method if you need something other than the default Service. The service returned by this method is used in creating the new Call object. |
void |
init()
Initialize the addressing handler. |
protected void |
initializeActor()
|
void |
invoke(org.apache.axis.MessageContext msgContext)
Method invoke |
void |
onFault(org.apache.axis.MessageContext msgContext)
|
protected void |
processClientRequest(org.apache.axis.MessageContext msgContext,
boolean setMustUnderstand)
Method processClientRequest |
protected void |
processClientResponse(org.apache.axis.MessageContext msgContext)
Method processClientResponse |
protected void |
processFault(org.apache.axis.MessageContext msgContext)
|
protected void |
processServerRequest(org.apache.axis.MessageContext msgContext)
Method processServerRequest |
protected void |
processServerResponse(org.apache.axis.MessageContext msgContext,
boolean setMustUnderstand)
Method processServerResponse |
static void |
resetContextOperations(org.apache.axis.MessageContext msgContext)
|
protected void |
resetOperations(org.apache.axis.MessageContext msgContext)
|
protected void |
setTargetService(org.apache.axis.MessageContext msgContext,
AddressingHeaders headers)
Can be overridden by subclasses to customize how the wsa:to header is interpreted |
| Methods inherited from class org.apache.axis.handlers.BasicHandler |
|---|
canHandleBlock, cleanup, generateWSDL, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, initHashtable, setName, setOption, setOptionDefault, setOptions, setOptionsLockable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public AddressingHandler()
| Method Detail |
|---|
public void init()
init in interface org.apache.axis.Handlerinit in class org.apache.axis.handlers.BasicHandlerprotected void initializeActor()
public void invoke(org.apache.axis.MessageContext msgContext)
throws org.apache.axis.AxisFault
msgContext -
org.apache.axis.AxisFaultpublic void onFault(org.apache.axis.MessageContext msgContext)
onFault in interface org.apache.axis.HandleronFault in class org.apache.axis.handlers.BasicHandler
protected void processFault(org.apache.axis.MessageContext msgContext)
throws java.lang.Exception
java.lang.Exception
protected void processClientRequest(org.apache.axis.MessageContext msgContext,
boolean setMustUnderstand)
throws java.lang.Exception
msgContext -
java.lang.Exception
protected void processClientResponse(org.apache.axis.MessageContext msgContext)
throws java.lang.Exception
msgContext -
java.lang.Exception
protected void processServerRequest(org.apache.axis.MessageContext msgContext)
throws java.lang.Exception
msgContext -
java.lang.Exception
protected void resetOperations(org.apache.axis.MessageContext msgContext)
throws org.apache.axis.AxisFault
org.apache.axis.AxisFault
public static void resetContextOperations(org.apache.axis.MessageContext msgContext)
throws org.apache.axis.AxisFault
org.apache.axis.AxisFault
protected void setTargetService(org.apache.axis.MessageContext msgContext,
AddressingHeaders headers)
throws java.lang.Exception
java.lang.Exception
protected void processServerResponse(org.apache.axis.MessageContext msgContext,
boolean setMustUnderstand)
throws java.lang.Exception
msgContext -
java.lang.Exception
protected void forwardMessage(EndpointReferenceType epr,
org.apache.axis.Message msg)
throws java.lang.Exception
java.lang.Exceptionprotected org.apache.axis.client.Service getService(org.apache.axis.MessageContext msgContext)
Service service = getService(msgContext); Call call = service.createCall() call.setTargetEndpointAddress(toEndPointReference.getAddress().toString());
msgContext -
protected void configureCall(org.apache.axis.client.Call call,
org.apache.axis.MessageContext oldContext)
call - Call object about to be invokedoldContext - MessageContext of the original request/response.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||