|
Spring Web Services Framework | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MessageContext | |
---|---|
org.springframework.ws.client.core | Core package of the Spring-WS client-side support. |
org.springframework.ws.client.support.interceptor | Provides the ClientInterceptor interface, and validating interceptors. |
org.springframework.ws.context | Contains the MessageContext , and MessageContextFactory interfaces. |
org.springframework.ws.server | Contains classes for server-side Spring-WS support. |
org.springframework.ws.server.endpoint | Provides standard endpoint, and EndpointAdapter implementations. |
org.springframework.ws.server.endpoint.adapter | Provides miscellaneous EndpointAdapter implementations. |
org.springframework.ws.server.endpoint.interceptor | Provides miscellaneous endpoints EndpointInterceptor implementations. |
org.springframework.ws.server.endpoint.mapping | Provides miscellaneous endpoints EndpointMapping implementations. |
org.springframework.ws.soap.addressing.server | Contains servers-side WS-Addressing support, in the form of EndpointMappings . |
org.springframework.ws.soap.security | Provides WS-Security implementation classes. |
org.springframework.ws.soap.security.wss4j | Contains classes for using the Apache WSS4J WS-Security implementation within Spring-WS. |
org.springframework.ws.soap.security.xwss | Contains classes for using the XML and WebServices Security WS-Security implementation within Spring-WS. |
org.springframework.ws.soap.server | Contains classes for SOAP-specific server-side Spring-WS support. |
org.springframework.ws.soap.server.endpoint | Provides EndpointAdapter , EndpointMapping , and EndpointExceptionResolver
implementations for SOAP. |
org.springframework.ws.soap.server.endpoint.interceptor | Provides miscellaneous endpoints EndpointInterceptor implementations for SOAP purposes. |
org.springframework.ws.soap.server.endpoint.mapping | Provides miscellaneous endpoints EndpointMapping implementations for SOAP purposes. |
org.springframework.ws.transport | Contains the TransportRequest and TransportResponse interfaces. |
Uses of MessageContext in org.springframework.ws.client.core |
---|
Methods in org.springframework.ws.client.core with parameters of type MessageContext | |
---|---|
protected Object |
WebServiceTemplate.doSendAndReceive(MessageContext messageContext,
WebServiceConnection connection,
WebServiceMessageCallback requestCallback,
WebServiceMessageExtractor responseExtractor)
Sends and receives a MessageContext . |
protected Object |
WebServiceTemplate.handleFault(WebServiceConnection connection,
MessageContext messageContext)
Handles an fault in the given response message. |
Uses of MessageContext in org.springframework.ws.client.support.interceptor |
---|
Methods in org.springframework.ws.client.support.interceptor with parameters of type MessageContext | |
---|---|
boolean |
ClientInterceptor.handleFault(MessageContext messageContext)
Processes the incoming response fault. |
boolean |
AbstractValidatingInterceptor.handleFault(MessageContext messageContext)
Does nothing by default. |
boolean |
ClientInterceptor.handleRequest(MessageContext messageContext)
Processes the outgoing request message. |
boolean |
AbstractValidatingInterceptor.handleRequest(MessageContext messageContext)
Validates the request message in the given message context. |
protected boolean |
AbstractValidatingInterceptor.handleRequestValidationErrors(MessageContext messageContext,
SAXParseException[] errors)
Template method that is called when the request message contains validation errors. |
boolean |
ClientInterceptor.handleResponse(MessageContext messageContext)
Processes the incoming response message. |
boolean |
AbstractValidatingInterceptor.handleResponse(MessageContext messageContext)
Validates the response message in the given message context. |
protected boolean |
AbstractValidatingInterceptor.handleResponseValidationErrors(MessageContext messageContext,
SAXParseException[] errors)
Template method that is called when the response message contains validation errors. |
Uses of MessageContext in org.springframework.ws.context |
---|
Classes in org.springframework.ws.context that implement MessageContext | |
---|---|
class |
AbstractMessageContext
Abstract base class for MessageContext instances. |
class |
DefaultMessageContext
Default implementation of MessageContext . |
Uses of MessageContext in org.springframework.ws.server |
---|
Methods in org.springframework.ws.server with parameters of type MessageContext | |
---|---|
protected void |
MessageDispatcher.dispatch(MessageContext messageContext)
Dispatches the request in the given MessageContext according to the configuration. |
protected EndpointInvocationChain |
MessageDispatcher.getEndpoint(MessageContext messageContext)
Returns the endpoint for this request. |
EndpointInvocationChain |
EndpointMapping.getEndpoint(MessageContext messageContext)
Returns an endpoint and any interceptors for this message context. |
boolean |
EndpointInterceptor.handleFault(MessageContext messageContext,
Object endpoint)
Processes the outgoing response fault. |
protected boolean |
MessageDispatcher.handleRequest(EndpointInvocationChain mappedEndpoint,
MessageContext messageContext)
Callback for pre-processing of given invocation chain and message context. |
boolean |
EndpointInterceptor.handleRequest(MessageContext messageContext,
Object endpoint)
Processes the incoming request message. |
boolean |
EndpointInterceptor.handleResponse(MessageContext messageContext,
Object endpoint)
Processes the outgoing response message. |
void |
EndpointAdapter.invoke(MessageContext messageContext,
Object endpoint)
Use the given endpoint to handle the request. |
protected void |
MessageDispatcher.processEndpointException(MessageContext messageContext,
Object endpoint,
Exception ex)
Determine an error SOAPMessage response via the registered EndpointExceptionResolvers . |
void |
MessageDispatcher.receive(MessageContext messageContext)
|
boolean |
EndpointExceptionResolver.resolveException(MessageContext messageContext,
Object endpoint,
Exception ex)
Try to resolve the given exception that got thrown during on endpoint execution. |
Uses of MessageContext in org.springframework.ws.server.endpoint |
---|
Methods in org.springframework.ws.server.endpoint with parameters of type MessageContext | |
---|---|
protected String |
AbstractEndpointExceptionResolver.buildLogMessage(Exception ex,
MessageContext messageContext)
Build a log message for the given exception, occured during processing the given message context. |
boolean |
AbstractLoggingInterceptor.handleFault(MessageContext messageContext,
Object endpoint)
Does nothing by default. |
boolean |
AbstractLoggingInterceptor.handleRequest(MessageContext messageContext,
Object endpoint)
Logs the request message payload. |
boolean |
AbstractLoggingInterceptor.handleResponse(MessageContext messageContext,
Object endpoint)
Logs the response message payload. |
void |
MessageEndpoint.invoke(MessageContext messageContext)
Invokes an operation. |
void |
AbstractStaxStreamPayloadEndpoint.invoke(MessageContext messageContext)
|
void |
AbstractStaxEventPayloadEndpoint.invoke(MessageContext messageContext)
|
void |
AbstractMarshallingPayloadEndpoint.invoke(MessageContext messageContext)
|
protected void |
AbstractEndpointExceptionResolver.logException(Exception ex,
MessageContext messageContext)
Log the given exception at warn level, provided that warn logging has been activated through the "warnLogCategory" property. |
protected void |
AbstractMarshallingPayloadEndpoint.onMarshalResponse(MessageContext messageContext,
Object requestObject,
Object responseObject)
Callback for post-processing in terms of marshalling. |
protected boolean |
AbstractValidatingMarshallingPayloadEndpoint.onUnmarshalRequest(MessageContext messageContext,
Object requestObject)
|
protected boolean |
AbstractMarshallingPayloadEndpoint.onUnmarshalRequest(MessageContext messageContext,
Object requestObject)
Callback for post-processing in terms of unmarshalling. |
protected abstract boolean |
AbstractValidatingMarshallingPayloadEndpoint.onValidationErrors(MessageContext messageContext,
Object requestObject,
Errors errors)
Callback for post-processing validation errors. |
boolean |
AbstractEndpointExceptionResolver.resolveException(MessageContext messageContext,
Object endpoint,
Exception ex)
Default implementation that checks whether the given endpoint is in the set of mapped endpoints . |
protected abstract boolean |
AbstractEndpointExceptionResolver.resolveExceptionInternal(MessageContext messageContext,
Object endpoint,
Exception ex)
Template method for resolving exceptions that is called by AbstractEndpointExceptionResolver.resolveException(org.springframework.ws.context.MessageContext, java.lang.Object, java.lang.Exception) . |
Uses of MessageContext in org.springframework.ws.server.endpoint.adapter |
---|
Methods in org.springframework.ws.server.endpoint.adapter with parameters of type MessageContext | |
---|---|
void |
PayloadEndpointAdapter.invoke(MessageContext messageContext,
Object endpoint)
|
void |
MessageEndpointAdapter.invoke(MessageContext messageContext,
Object endpoint)
|
void |
AbstractMethodEndpointAdapter.invoke(MessageContext messageContext,
Object endpoint)
Delegates to AbstractMethodEndpointAdapter.invokeInternal(org.springframework.ws.context.MessageContext,MethodEndpoint) . |
protected void |
XPathParamAnnotationMethodEndpointAdapter.invokeInternal(MessageContext messageContext,
MethodEndpoint methodEndpoint)
|
protected void |
PayloadMethodEndpointAdapter.invokeInternal(MessageContext messageContext,
MethodEndpoint methodEndpoint)
|
protected void |
MessageMethodEndpointAdapter.invokeInternal(MessageContext messageContext,
MethodEndpoint methodEndpoint)
|
protected void |
MarshallingMethodEndpointAdapter.invokeInternal(MessageContext messageContext,
MethodEndpoint methodEndpoint)
|
protected abstract void |
AbstractMethodEndpointAdapter.invokeInternal(MessageContext messageContext,
MethodEndpoint methodEndpoint)
Use the given method endpoint to handle the request. |
Uses of MessageContext in org.springframework.ws.server.endpoint.interceptor |
---|
Methods in org.springframework.ws.server.endpoint.interceptor with parameters of type MessageContext | |
---|---|
boolean |
PayloadTransformingInterceptor.handleFault(MessageContext messageContext,
Object endpoint)
Does nothing by default. |
boolean |
EndpointInterceptorAdapter.handleFault(MessageContext messageContext,
Object endpoint)
Returns true . |
boolean |
AbstractValidatingInterceptor.handleFault(MessageContext messageContext,
Object endpoint)
Does nothing by default. |
boolean |
PayloadTransformingInterceptor.handleRequest(MessageContext messageContext,
Object endpoint)
Transforms the request message in the given message context using a provided stylesheet. |
boolean |
EndpointInterceptorAdapter.handleRequest(MessageContext messageContext,
Object endpoint)
Returns true . |
boolean |
AbstractValidatingInterceptor.handleRequest(MessageContext messageContext,
Object endpoint)
Validates the request message in the given message context. |
protected boolean |
AbstractValidatingInterceptor.handleRequestValidationErrors(MessageContext messageContext,
SAXParseException[] errors)
Template method that is called when the request message contains validation errors. |
boolean |
PayloadTransformingInterceptor.handleResponse(MessageContext messageContext,
Object endpoint)
Transforms the response message in the given message context using a stylesheet. |
boolean |
EndpointInterceptorAdapter.handleResponse(MessageContext messageContext,
Object endpoint)
Returns true . |
boolean |
AbstractValidatingInterceptor.handleResponse(MessageContext messageContext,
Object endpoint)
Validates the response message in the given message context. |
protected boolean |
AbstractValidatingInterceptor.handleResponseValidationErrors(MessageContext messageContext,
SAXParseException[] errors)
Template method that is called when the response message contains validation errors. |
Uses of MessageContext in org.springframework.ws.server.endpoint.mapping |
---|
Methods in org.springframework.ws.server.endpoint.mapping with parameters of type MessageContext | |
---|---|
protected EndpointInvocationChain |
AbstractEndpointMapping.createEndpointInvocationChain(MessageContext messageContext,
Object endpoint,
EndpointInterceptor[] interceptors)
Creates a new EndpointInvocationChain based on the given message context, endpoint, and
interceptors. |
EndpointInvocationChain |
AbstractEndpointMapping.getEndpoint(MessageContext messageContext)
Look up an endpoint for the given message context, falling back to the default endpoint if no specific one is found. |
protected Object |
AbstractMethodEndpointMapping.getEndpointInternal(MessageContext messageContext)
Lookup an endpoint for the given message. |
protected Object |
AbstractMapBasedEndpointMapping.getEndpointInternal(MessageContext messageContext)
Lookup an endpoint for the given message. |
protected abstract Object |
AbstractEndpointMapping.getEndpointInternal(MessageContext messageContext)
Lookup an endpoint for the given request, returning null if no specific one is found. |
protected String |
PayloadRootAnnotationMethodEndpointMapping.getLookupKeyForMessage(MessageContext messageContext)
|
protected String |
XPathPayloadEndpointMapping.getLookupKeyForMessage(MessageContext messageContext)
|
protected String |
UriEndpointMapping.getLookupKeyForMessage(MessageContext messageContext)
|
protected String |
SimpleMethodEndpointMapping.getLookupKeyForMessage(MessageContext messageContext)
Returns the local part of the payload root element of the request. |
protected String |
AbstractQNameEndpointMapping.getLookupKeyForMessage(MessageContext messageContext)
|
protected abstract String |
AbstractMethodEndpointMapping.getLookupKeyForMessage(MessageContext messageContext)
Returns the the endpoint keys for the given message context. |
protected abstract String |
AbstractMapBasedEndpointMapping.getLookupKeyForMessage(MessageContext messageContext)
Returns the the endpoint key for the given message context. |
protected QName |
PayloadRootQNameEndpointMapping.resolveQName(MessageContext messageContext)
|
protected abstract QName |
AbstractQNameEndpointMapping.resolveQName(MessageContext messageContext)
Template method that resolves the qualified names from the given SOAP message. |
Uses of MessageContext in org.springframework.ws.soap.addressing.server |
---|
Methods in org.springframework.ws.soap.addressing.server with parameters of type MessageContext | |
---|---|
EndpointInvocationChain |
AbstractAddressingEndpointMapping.getEndpoint(MessageContext messageContext)
|
Uses of MessageContext in org.springframework.ws.soap.security |
---|
Methods in org.springframework.ws.soap.security with parameters of type MessageContext | |
---|---|
boolean |
AbstractWsSecurityInterceptor.handleFault(MessageContext messageContext)
Returns true , i.e. fault responses are not validated. |
boolean |
AbstractWsSecurityInterceptor.handleFault(MessageContext messageContext,
Object endpoint)
Returns true , i.e. fault responses are not secured. |
protected boolean |
AbstractWsSecurityInterceptor.handleFaultException(WsSecurityFaultException ex,
MessageContext messageContext)
Handles a fault exception.Default implementation logs the given exception, and creates a SOAP Fault with the properties of the given exception, and returns false . |
boolean |
AbstractWsSecurityInterceptor.handleRequest(MessageContext messageContext)
Secures a client-side outgoing request. |
boolean |
AbstractWsSecurityInterceptor.handleRequest(MessageContext messageContext,
Object endpoint)
Validates a server-side incoming request. |
boolean |
AbstractWsSecurityInterceptor.handleResponse(MessageContext messageContext)
Validates a client-side incoming response. |
boolean |
AbstractWsSecurityInterceptor.handleResponse(MessageContext messageContext,
Object endpoint)
Secures a server-side outgoing response. |
protected boolean |
AbstractWsSecurityInterceptor.handleSecurementException(WsSecuritySecurementException ex,
MessageContext messageContext)
Handles an securement exception. |
protected boolean |
AbstractWsSecurityInterceptor.handleValidationException(WsSecurityValidationException ex,
MessageContext messageContext)
Handles an invalid SOAP message. |
protected abstract void |
AbstractWsSecurityInterceptor.secureMessage(SoapMessage soapMessage,
MessageContext messageContext)
Abstract template method. |
protected abstract void |
AbstractWsSecurityInterceptor.validateMessage(SoapMessage soapMessage,
MessageContext messageContext)
Abstract template method. |
Uses of MessageContext in org.springframework.ws.soap.security.wss4j |
---|
Methods in org.springframework.ws.soap.security.wss4j with parameters of type MessageContext | |
---|---|
protected void |
Wss4jSecurityInterceptor.secureMessage(SoapMessage soapMessage,
MessageContext messageContext)
|
protected void |
Wss4jSecurityInterceptor.validateMessage(SoapMessage soapMessage,
MessageContext messageContext)
|
Uses of MessageContext in org.springframework.ws.soap.security.xwss |
---|
Methods in org.springframework.ws.soap.security.xwss with parameters of type MessageContext | |
---|---|
protected void |
XwsSecurityInterceptor.secureMessage(SoapMessage soapMessage,
MessageContext messageContext)
Secures the given SoapMessage message in accordance with the defined security policy. |
protected void |
XwsSecurityInterceptor.validateMessage(SoapMessage soapMessage,
MessageContext messageContext)
Validates the given SoapMessage message in accordance with the defined security policy. |
Uses of MessageContext in org.springframework.ws.soap.server |
---|
Methods in org.springframework.ws.soap.server with parameters of type MessageContext | |
---|---|
protected boolean |
SoapMessageDispatcher.handleRequest(EndpointInvocationChain mappedEndpoint,
MessageContext messageContext)
Process the headers targeted at the actor or role fullfilled by the endpoint. |
Uses of MessageContext in org.springframework.ws.soap.server.endpoint |
---|
Methods in org.springframework.ws.soap.server.endpoint with parameters of type MessageContext | |
---|---|
protected void |
SimpleSoapExceptionResolver.customizeFault(MessageContext messageContext,
Object endpoint,
Exception ex,
SoapFault fault)
Empty template method to allow subclasses an opportunity to customize the given SoapFault . |
protected boolean |
AbstractFaultCreatingValidatingMarshallingPayloadEndpoint.onValidationErrors(MessageContext messageContext,
Object requestObject,
Errors errors)
This implementation logs all errors, returns false , and creates a client or sender SoapFault , adding a SoapFaultDetail with all errors if the addValidationErrorDetail property is true . |
protected boolean |
SimpleSoapExceptionResolver.resolveExceptionInternal(MessageContext messageContext,
Object endpoint,
Exception ex)
|
protected boolean |
AbstractSoapFaultDefinitionExceptionResolver.resolveExceptionInternal(MessageContext messageContext,
Object endpoint,
Exception ex)
|
Uses of MessageContext in org.springframework.ws.soap.server.endpoint.interceptor |
---|
Methods in org.springframework.ws.soap.server.endpoint.interceptor with parameters of type MessageContext | |
---|---|
boolean |
SoapEnvelopeLoggingInterceptor.handleFault(MessageContext messageContext,
Object endpoint)
|
protected boolean |
AbstractFaultCreatingValidatingInterceptor.handleRequestValidationErrors(MessageContext messageContext,
SAXParseException[] errors)
Template method that is called when the request message contains validation errors. |
Uses of MessageContext in org.springframework.ws.soap.server.endpoint.mapping |
---|
Methods in org.springframework.ws.soap.server.endpoint.mapping with parameters of type MessageContext | |
---|---|
protected EndpointInvocationChain |
SoapActionAnnotationMethodEndpointMapping.createEndpointInvocationChain(MessageContext messageContext,
Object endpoint,
EndpointInterceptor[] interceptors)
Creates a new SoapEndpointInvocationChain based on the given endpoint, and the set interceptors, and
actors/roles. |
protected EndpointInvocationChain |
SoapActionEndpointMapping.createEndpointInvocationChain(MessageContext messageContext,
Object endpoint,
EndpointInterceptor[] interceptors)
Creates a new SoapEndpointInvocationChain based on the given endpoint, and the set interceptors, and
actors/roles. |
EndpointInvocationChain |
DelegatingSoapEndpointMapping.getEndpoint(MessageContext messageContext)
Creates a new SoapEndpointInvocationChain based on the delegate endpoint, the delegate interceptors,
and set actors/roles. |
protected String |
SoapActionAnnotationMethodEndpointMapping.getLookupKeyForMessage(MessageContext messageContext)
|
protected String |
SoapActionEndpointMapping.getLookupKeyForMessage(MessageContext messageContext)
|
Uses of MessageContext in org.springframework.ws.transport |
---|
Methods in org.springframework.ws.transport with parameters of type MessageContext | |
---|---|
void |
WebServiceMessageReceiver.receive(MessageContext messageContext)
Receives the given message context. |
|
Spring Web Services Framework | |||||||||
PREV NEXT | FRAMES NO FRAMES |