public class SOAP11Encoder extends BaseHandlerChainAwareMessageEncoder
| コンストラクタと説明 |
|---|
SOAP11Encoder()
Constructor.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected Envelope |
buildSOAPEnvelope(MessageContext messageContext)
Builds the SOAP envelope and body skeleton to be encoded.
|
protected void |
encodeToTransport(MessageContext messageContext)
Encode the message context to the transport.
|
protected void |
prepareMessageContext(MessageContext messageContext)
Perform final binding-specific processing of message context and prepare it for encoding
to the transport.
|
protected void |
preprocessTransport(MessageContext messageContext)
Perform any processing or fixup on the message context's outbound transport, prior to encoding the actual
message.
|
boolean |
providesMessageConfidentiality(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message confidentiality.
|
boolean |
providesMessageIntegrity(MessageContext messageContext)
Indicates whether this encoder, given the current message context, provides end-to-end message integrity.
|
doEncode, invokeHandlerChain, processOutboundHandlerChainencode, logEncodedMessage, marshallMessagepublic boolean providesMessageConfidentiality(MessageContext messageContext) throws MessageEncodingException
messageContext - the current message contextMessageEncodingException - thrown if the encoder encounter an error while attempt to evaluate its ability
to provide message confidentiality.public boolean providesMessageIntegrity(MessageContext messageContext) throws MessageEncodingException
messageContext - the current message contextMessageEncodingException - thrown if the encoder encounter an error while attempt to evaluate its ability
to provide message integrity.protected void prepareMessageContext(MessageContext messageContext) throws MessageEncodingException
This should include constructing and populating all binding-specific structure and data that needs to be reflected by the message context's properties.
This method is called prior to BaseHandlerChainAwareMessageEncoder.processOutboundHandlerChain(MessageContext).
prepareMessageContext クラス内 BaseHandlerChainAwareMessageEncodermessageContext - the message context to processMessageEncodingException - thrown if there is a problem preparing the message context
for encodingprotected void encodeToTransport(MessageContext messageContext) throws MessageEncodingException
encodeToTransport クラス内 BaseHandlerChainAwareMessageEncodermessageContext - the message context to processMessageEncodingException - thrown if there is a problem encoding the message context
to the transportprotected void preprocessTransport(MessageContext messageContext) throws MessageEncodingException
The default implementation does nothing. Subclasses should override to implement transport-specific behavior.
messageContext - the current message context being processedMessageEncodingException - thrown if there is a problem preprocessing the transportprotected Envelope buildSOAPEnvelope(MessageContext messageContext)
messageContext - the message context being processedCopyright © 2012. All Rights Reserved.