public class MessageHandler extends Object implements SOAPHandler<SOAPMessageContext>
Modifier and Type | Field and Description |
---|---|
static String |
TIME_ZONE |
static int |
TIMESTAMP_BEGIN_INDEX |
static int |
TIMESTAMP_END_INDEX |
static int |
VALIDITY_TIME |
Constructor and Description |
---|
MessageHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close(MessageContext context) |
Set<QName> |
getHeaders()
This method resolves the security header coming in the SOAP message.
|
boolean |
handleFault(SOAPMessageContext context) |
boolean |
handleMessage(SOAPMessageContext context)
This method adds Timestamp for SOAP header, and adds Content-length for HTTP header for
avoiding HTTP chunking.
|
public static final String TIME_ZONE
public static final int VALIDITY_TIME
public static final int TIMESTAMP_END_INDEX
public static final int TIMESTAMP_BEGIN_INDEX
public Set<QName> getHeaders()
getHeaders
in interface SOAPHandler<SOAPMessageContext>
public boolean handleMessage(SOAPMessageContext context)
handleMessage
in interface Handler<SOAPMessageContext>
context
- - Context of the SOAP Messagepublic boolean handleFault(SOAPMessageContext context)
handleFault
in interface Handler<SOAPMessageContext>
public void close(MessageContext context)
close
in interface Handler<SOAPMessageContext>
Copyright © 2017 WSO2. All rights reserved.