|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.xd.soap.DirectSOAPHandler
public class DirectSOAPHandler
This class handles the SOAP-Requests before they reach the Web Service Operation. It is possible to read and manipulate the SOAP-Message.
| Field Summary | |
|---|---|
protected String |
action
|
protected String |
directFrom
|
protected String |
directMetadataLevel
|
protected String |
directTo
|
protected String |
endpoint
|
protected String |
from
|
protected String |
messageId
|
protected String |
pid
|
protected String |
relatesTo
|
protected String |
remoteHost
|
protected String |
thisHost
|
protected String |
to
|
| Constructor Summary | |
|---|---|
DirectSOAPHandler()
|
|
| Method Summary | |
|---|---|
void |
close(MessageContext messageContext)
|
void |
destroy()
Is executed before this handler is being destroyed - means after close() has been executed. |
protected void |
dumpSOAPMessage(SOAPMessage msg)
Dump SOAP Message to console. |
protected void |
getHeaderData()
Extract header values from a ThreadData object. |
Set<QName> |
getHeaders()
|
protected String |
getMessageEncoding(SOAPMessage msg)
Returns the message encoding (e.g. |
String |
getPID()
Get the current process ID. |
boolean |
handleFault(SOAPMessageContext context)
|
boolean |
handleMessage(SOAPMessageContext context)
This method handles the incoming and outgoing SOAP-Message. |
void |
init()
Is called after constructing the handler and before executing any othe method. |
protected void |
setHeaderData()
Build a ThreadData object with header information. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String endpoint
protected String messageId
protected String relatesTo
protected String action
protected String to
protected String remoteHost
protected String thisHost
protected String pid
protected String from
protected String directFrom
protected String directTo
protected String directMetadataLevel
| Constructor Detail |
|---|
public DirectSOAPHandler()
| Method Detail |
|---|
@PostConstruct public void init()
public void close(MessageContext messageContext)
close in interface Handler<SOAPMessageContext>@PreDestroy public void destroy()
public boolean handleMessage(SOAPMessageContext context)
handleMessage in interface Handler<SOAPMessageContext>SOAPMessageContext - The SOAPMessageContext object.
public Set<QName> getHeaders()
getHeaders in interface SOAPHandler<SOAPMessageContext>
protected String getMessageEncoding(SOAPMessage msg)
throws SOAPException
msg - The SOAPMessage object.
SOAPExceptionprotected void dumpSOAPMessage(SOAPMessage msg)
msg - The SOAPMessage object.public boolean handleFault(SOAPMessageContext context)
handleFault in interface Handler<SOAPMessageContext>protected void getHeaderData()
protected void setHeaderData()
public String getPID()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||