Uses of Interface
org.springframework.ws.context.MessageContext
Packages that use MessageContext
Package
Description
Core package of the Spring-WS client-side support.
Provides the
ClientInterceptor interface, and validating interceptors.Contains the
MessageContext interface and implementations thereof.Contains classes for server-side Spring-WS support.
Provides standard endpoint, and
EndpointAdapter implementations.Provides miscellaneous
EndpointAdapter implementations.Provides the
MethodArgumentResolver and MethodReturnValueHandler
abstractions, and various implementations thereof.Provides JAXB2-based implementations of the
MethodArgumentResolver and
MethodReturnValueHandler interfaces.Provides miscellaneous endpoints
EndpointInterceptor implementations.Provides miscellaneous endpoints
EndpointMapping implementations.Provides JAXB2-based
EndpointMapping implementations.Server-side WS-Addressing support, in the form of
EndpointMappings.Provides WS-Security implementation classes.
Contains classes for using the Apache WSS4J
2.0+ WS-Security implementation within Spring-WS.
Contains classes for SOAP-specific server-side Spring-WS support.
Provides
EndpointAdapter, EndpointMapping, and
EndpointExceptionResolver implementations for SOAP.Method argument resolvers for SOAP headers.
Provides miscellaneous endpoints
EndpointInterceptor implementations for SOAP
purposes.Provides miscellaneous endpoints
EndpointMapping implementations for SOAP
purposes.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 MessageContextModifier and TypeMethodDescriptionprotected <T> @Nullable TWebServiceTemplate.doSendAndReceive(MessageContext messageContext, WebServiceConnection connection, @Nullable WebServiceMessageCallback requestCallback, WebServiceMessageExtractor<T> responseExtractor) Sends and receives aMessageContext.protected @Nullable ObjectWebServiceTemplate.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 MessageContextModifier and TypeMethodDescriptionvoidAbstractValidatingInterceptor.afterCompletion(MessageContext messageContext, @Nullable Exception ex) Does nothing by default.voidClientInterceptor.afterCompletion(MessageContext messageContext, @Nullable Exception ex) Callback after completion of request and response (fault) processing.voidClientInterceptorAdapter.afterCompletion(MessageContext messageContext, @Nullable Exception ex) Does nothing by default.booleanAbstractValidatingInterceptor.handleFault(MessageContext messageContext) Does nothing by default.booleanClientInterceptor.handleFault(MessageContext messageContext) Processes the incoming response fault.booleanClientInterceptorAdapter.handleFault(MessageContext messageContext) booleanAbstractValidatingInterceptor.handleRequest(MessageContext messageContext) Validates the request message in the given message context.booleanClientInterceptor.handleRequest(MessageContext messageContext) Processes the outgoing request message.booleanClientInterceptorAdapter.handleRequest(MessageContext messageContext) protected booleanAbstractValidatingInterceptor.handleRequestValidationErrors(MessageContext messageContext, SAXParseException[] errors) Template method that is called when the request message contains validation errors.booleanAbstractValidatingInterceptor.handleResponse(MessageContext messageContext) Validates the response message in the given message context.booleanClientInterceptor.handleResponse(MessageContext messageContext) Processes the incoming response message.booleanClientInterceptorAdapter.handleResponse(MessageContext messageContext) protected booleanAbstractValidatingInterceptor.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 MessageContextModifier and TypeClassDescriptionclassAbstract base class forMessageContextinstances.classDefault implementation ofMessageContext. -
Uses of MessageContext in org.springframework.ws.server
Methods in org.springframework.ws.server with parameters of type MessageContextModifier and TypeMethodDescriptionvoidEndpointInterceptor.afterCompletion(MessageContext messageContext, Object endpoint, @Nullable Exception ex) Callback after completion of request and response (fault) processing.protected final voidMessageDispatcher.dispatch(MessageContext messageContext) Dispatches the request in the given MessageContext according to the configuration.@Nullable EndpointInvocationChainEndpointMapping.getEndpoint(MessageContext messageContext) Returns an endpoint and any interceptors for this message context.protected @Nullable EndpointInvocationChainMessageDispatcher.getEndpoint(MessageContext messageContext) Returns the endpoint for this request.booleanEndpointInterceptor.handleFault(MessageContext messageContext, Object endpoint) Processes the outgoing response fault.booleanEndpointInterceptor.handleRequest(MessageContext messageContext, Object endpoint) Processes the incoming request message.protected booleanMessageDispatcher.handleRequest(EndpointInvocationChain mappedEndpoint, MessageContext messageContext) Callback for pre-processing of given invocation chain and message context.booleanEndpointInterceptor.handleResponse(MessageContext messageContext, Object endpoint) Processes the outgoing response message.voidEndpointAdapter.invoke(MessageContext messageContext, Object endpoint) Use the givenendpointto handle the request.protected voidMessageDispatcher.processEndpointException(MessageContext messageContext, @Nullable Object endpoint, Exception ex) Determine an errorSOAPMessageresponse via the registeredEndpointExceptionResolvers.voidMessageDispatcher.receive(MessageContext messageContext) booleanEndpointExceptionResolver.resolveException(MessageContext messageContext, @Nullable Object endpoint, Exception ex) Try to resolve the given exception that got thrown during on endpoint execution.booleanSmartEndpointInterceptor.shouldIntercept(MessageContext messageContext, Object endpoint) Indicates whether this interceptor should intercept the given message context. -
Uses of MessageContext in org.springframework.ws.server.endpoint
Methods in org.springframework.ws.server.endpoint with parameters of type MessageContextModifier and TypeMethodDescriptionvoidAbstractLoggingInterceptor.afterCompletion(MessageContext messageContext, Object endpoint, @Nullable Exception ex) Does nothing by default.protected StringAbstractEndpointExceptionResolver.buildLogMessage(MessageContext messageContext, Exception ex) Build a log message for the given exception, occured during processing the given message context.booleanAbstractLoggingInterceptor.handleFault(MessageContext messageContext, Object endpoint) Does nothing by default.booleanAbstractLoggingInterceptor.handleRequest(MessageContext messageContext, Object endpoint) Logs the request message payload.booleanAbstractLoggingInterceptor.handleResponse(MessageContext messageContext, Object endpoint) Logs the response message payload.voidMessageEndpoint.invoke(MessageContext messageContext) Invokes an operation.protected voidAbstractEndpointExceptionResolver.logException(MessageContext messageContext, Exception ex) Log the given exception at warn level, provided that warn logging has been activated through the"warnLogCategory"property.final booleanAbstractEndpointExceptionResolver.resolveException(MessageContext messageContext, @Nullable Object endpoint, Exception ex) Default implementation that checks whether the givenendpointis in the set ofmapped endpoints.final booleanCompositeEndpointExceptionResolver.resolveException(MessageContext messageContext, @Nullable Object endpoint, Exception ex) protected abstract booleanAbstractEndpointExceptionResolver.resolveExceptionInternal(MessageContext messageContext, @Nullable Object endpoint, Exception ex) Template method for resolving exceptions that is called byEndpointExceptionResolver.resolveException(MessageContext, Object, Exception). -
Uses of MessageContext in org.springframework.ws.server.endpoint.adapter
Methods in org.springframework.ws.server.endpoint.adapter with parameters of type MessageContextModifier and TypeMethodDescriptionprotected @Nullable Object[]DefaultMethodEndpointAdapter.getMethodArguments(MessageContext messageContext, MethodEndpoint methodEndpoint) Returns the argument array for the given method endpoint.protected voidDefaultMethodEndpointAdapter.handleMethodReturnValue(MessageContext messageContext, Object returnValue, MethodEndpoint methodEndpoint) Handle the return value for the given method endpoint.final voidAbstractMethodEndpointAdapter.invoke(MessageContext messageContext, Object endpoint) voidMessageEndpointAdapter.invoke(MessageContext messageContext, Object endpoint) voidPayloadEndpointAdapter.invoke(MessageContext messageContext, Object endpoint) protected abstract voidAbstractMethodEndpointAdapter.invokeInternal(MessageContext messageContext, MethodEndpoint methodEndpoint) Use the given method endpoint to handle the request.protected final voidDefaultMethodEndpointAdapter.invokeInternal(MessageContext messageContext, MethodEndpoint methodEndpoint) -
Uses of MessageContext in org.springframework.ws.server.endpoint.adapter.method
Methods in org.springframework.ws.server.endpoint.adapter.method that return MessageContextModifier and TypeMethodDescriptionMessageContextMethodArgumentResolver.resolveArgument(MessageContext messageContext, org.springframework.core.MethodParameter parameter) Methods in org.springframework.ws.server.endpoint.adapter.method with parameters of type MessageContextModifier and TypeMethodDescriptionfinal voidAbstractPayloadSourceMethodProcessor.handleReturnValue(MessageContext messageContext, org.springframework.core.MethodParameter returnType, @Nullable Object returnValue) voidMarshallingPayloadMethodProcessor.handleReturnValue(MessageContext messageContext, org.springframework.core.MethodParameter returnType, @Nullable Object returnValue) voidMethodReturnValueHandler.handleReturnValue(MessageContext messageContext, org.springframework.core.MethodParameter returnType, @Nullable Object returnValue) Handles the given return value.final @Nullable ObjectAbstractPayloadSourceMethodProcessor.resolveArgument(MessageContext messageContext, org.springframework.core.MethodParameter parameter) @Nullable ObjectMarshallingPayloadMethodProcessor.resolveArgument(MessageContext messageContext, org.springframework.core.MethodParameter parameter) MessageContextMethodArgumentResolver.resolveArgument(MessageContext messageContext, org.springframework.core.MethodParameter parameter) @Nullable ObjectMethodArgumentResolver.resolveArgument(MessageContext messageContext, org.springframework.core.MethodParameter parameter) Resolves the given parameter into a method argument.@Nullable ObjectStaxPayloadMethodArgumentResolver.resolveArgument(MessageContext messageContext, org.springframework.core.MethodParameter parameter) @Nullable ObjectXPathParamMethodArgumentResolver.resolveArgument(MessageContext messageContext, org.springframework.core.MethodParameter parameter) -
Uses of MessageContext in org.springframework.ws.server.endpoint.adapter.method.jaxb
Methods in org.springframework.ws.server.endpoint.adapter.method.jaxb with parameters of type MessageContextModifier and TypeMethodDescriptionfinal voidAbstractJaxb2PayloadMethodProcessor.handleReturnValue(MessageContext messageContext, org.springframework.core.MethodParameter returnType, @Nullable Object returnValue) protected abstract voidAbstractJaxb2PayloadMethodProcessor.handleReturnValueInternal(MessageContext messageContext, org.springframework.core.MethodParameter returnType, Object returnValue) protected voidJaxbElementPayloadMethodProcessor.handleReturnValueInternal(MessageContext messageContext, org.springframework.core.MethodParameter returnType, Object returnValue) protected voidXmlRootElementPayloadMethodProcessor.handleReturnValueInternal(MessageContext messageContext, org.springframework.core.MethodParameter returnType, Object returnValue) protected final voidAbstractJaxb2PayloadMethodProcessor.marshalToResponsePayload(MessageContext messageContext, Class<?> clazz, Object jaxbElement) Marshals the givenjaxbElementto the response payload of the given message context.@Nullable jakarta.xml.bind.JAXBElement<?> JaxbElementPayloadMethodProcessor.resolveArgument(MessageContext messageContext, org.springframework.core.MethodParameter parameter) @Nullable ObjectXmlRootElementPayloadMethodProcessor.resolveArgument(MessageContext messageContext, org.springframework.core.MethodParameter parameter) protected final <T> @Nullable jakarta.xml.bind.JAXBElement<T> AbstractJaxb2PayloadMethodProcessor.unmarshalElementFromRequestPayload(MessageContext messageContext, Class<T> clazz) Unmarshals the request payload of the given message context asJAXBElement.protected final @Nullable ObjectAbstractJaxb2PayloadMethodProcessor.unmarshalFromRequestPayload(MessageContext messageContext, Class<?> clazz) Unmarshals the request payload of the given message context. -
Uses of MessageContext in org.springframework.ws.server.endpoint.interceptor
Methods in org.springframework.ws.server.endpoint.interceptor with parameters of type MessageContextModifier and TypeMethodDescriptionvoidAbstractValidatingInterceptor.afterCompletion(MessageContext messageContext, Object endpoint, @Nullable Exception ex) Does nothing by default.voidDelegatingSmartEndpointInterceptor.afterCompletion(MessageContext messageContext, Object endpoint, @Nullable Exception ex) voidEndpointInterceptorAdapter.afterCompletion(MessageContext messageContext, Object endpoint, @Nullable Exception ex) Does nothing by default.voidPayloadTransformingInterceptor.afterCompletion(MessageContext messageContext, Object endpoint, @Nullable Exception ex) Does nothing by default.booleanAbstractValidatingInterceptor.handleFault(MessageContext messageContext, Object endpoint) Does nothing by default.booleanDelegatingSmartEndpointInterceptor.handleFault(MessageContext messageContext, Object endpoint) booleanEndpointInterceptorAdapter.handleFault(MessageContext messageContext, Object endpoint) Returnstrue.booleanPayloadTransformingInterceptor.handleFault(MessageContext messageContext, Object endpoint) Does nothing by default.booleanAbstractValidatingInterceptor.handleRequest(MessageContext messageContext, Object endpoint) Validates the request message in the given message context.booleanDelegatingSmartEndpointInterceptor.handleRequest(MessageContext messageContext, Object endpoint) booleanEndpointInterceptorAdapter.handleRequest(MessageContext messageContext, Object endpoint) Returnstrue.booleanPayloadTransformingInterceptor.handleRequest(MessageContext messageContext, Object endpoint) Transforms the request message in the given message context using a provided stylesheet.protected booleanAbstractValidatingInterceptor.handleRequestValidationErrors(MessageContext messageContext, SAXParseException[] errors) Template method that is called when the request message contains validation errors.booleanAbstractValidatingInterceptor.handleResponse(MessageContext messageContext, Object endpoint) Validates the response message in the given message context.booleanDelegatingSmartEndpointInterceptor.handleResponse(MessageContext messageContext, Object endpoint) booleanEndpointInterceptorAdapter.handleResponse(MessageContext messageContext, Object endpoint) Returnstrue.booleanPayloadTransformingInterceptor.handleResponse(MessageContext messageContext, Object endpoint) Transforms the response message in the given message context using a stylesheet.protected booleanAbstractValidatingInterceptor.handleResponseValidationErrors(MessageContext messageContext, SAXParseException[] errors) Template method that is called when the response message contains validation errors.booleanDelegatingSmartEndpointInterceptor.shouldIntercept(MessageContext messageContext, Object endpoint) Indicates whether this interceptor should intercept the given message context. -
Uses of MessageContext in org.springframework.ws.server.endpoint.mapping
Methods in org.springframework.ws.server.endpoint.mapping with parameters of type MessageContextModifier and TypeMethodDescriptionprotected EndpointInvocationChainAbstractEndpointMapping.createEndpointInvocationChain(MessageContext messageContext, Object endpoint, EndpointInterceptor[] interceptors) Creates a newEndpointInvocationChainbased on the given message context, endpoint, and interceptors.final @Nullable EndpointInvocationChainAbstractEndpointMapping.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 abstract @Nullable ObjectAbstractEndpointMapping.getEndpointInternal(MessageContext messageContext) Lookup an endpoint for the given request, returningnullif no specific one is found.protected final @Nullable ObjectAbstractMapBasedEndpointMapping.getEndpointInternal(MessageContext messageContext) Lookup an endpoint for the given message.protected @Nullable ObjectAbstractMethodEndpointMapping.getEndpointInternal(MessageContext messageContext) Lookup an endpoint for the given message.protected abstract @Nullable StringAbstractMapBasedEndpointMapping.getLookupKeyForMessage(MessageContext messageContext) Returns the endpoint key for the given message context.protected abstract @Nullable TAbstractMethodEndpointMapping.getLookupKeyForMessage(MessageContext messageContext) Returns the endpoint keys for the given message context.protected final @Nullable StringAbstractQNameEndpointMapping.getLookupKeyForMessage(MessageContext messageContext) protected @Nullable QNamePayloadRootAnnotationMethodEndpointMapping.getLookupKeyForMessage(MessageContext messageContext) protected @Nullable StringSimpleMethodEndpointMapping.getLookupKeyForMessage(MessageContext messageContext) Returns the local part of the payload root element of the request.protected @Nullable StringUriEndpointMapping.getLookupKeyForMessage(MessageContext messageContext) protected @Nullable StringXPathPayloadEndpointMapping.getLookupKeyForMessage(MessageContext messageContext) protected abstract @Nullable QNameAbstractQNameEndpointMapping.resolveQName(MessageContext messageContext) Template method that resolves the qualified names from the given SOAP message.protected @Nullable QNamePayloadRootQNameEndpointMapping.resolveQName(MessageContext messageContext) -
Uses of MessageContext in org.springframework.ws.server.endpoint.mapping.jaxb
Methods in org.springframework.ws.server.endpoint.mapping.jaxb with parameters of type MessageContextModifier and TypeMethodDescriptionprotected @Nullable QNameXmlRootElementEndpointMapping.getLookupKeyForMessage(MessageContext messageContext) -
Uses of MessageContext in org.springframework.ws.soap.addressing.server
Methods in org.springframework.ws.soap.addressing.server with parameters of type MessageContextModifier and TypeMethodDescriptionfinal @Nullable EndpointInvocationChainAbstractAddressingEndpointMapping.getEndpoint(MessageContext messageContext) -
Uses of MessageContext in org.springframework.ws.soap.security
Methods in org.springframework.ws.soap.security with parameters of type MessageContextModifier and TypeMethodDescriptionvoidAbstractWsSecurityInterceptor.afterCompletion(MessageContext messageContext, @Nullable Exception ex) voidAbstractWsSecurityInterceptor.afterCompletion(MessageContext messageContext, Object endpoint, @Nullable Exception ex) booleanAbstractWsSecurityInterceptor.handleFault(MessageContext messageContext) Returnstrue, i.e.booleanAbstractWsSecurityInterceptor.handleFault(MessageContext messageContext, Object endpoint) Returnstrue, i.e.protected booleanAbstractWsSecurityInterceptor.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 returnsfalse.final booleanAbstractWsSecurityInterceptor.handleRequest(MessageContext messageContext) Secures a client-side outgoing request.final booleanAbstractWsSecurityInterceptor.handleRequest(MessageContext messageContext, Object endpoint) Validates a server-side incoming request.final booleanAbstractWsSecurityInterceptor.handleResponse(MessageContext messageContext) Validates a client-side incoming response.final booleanAbstractWsSecurityInterceptor.handleResponse(MessageContext messageContext, Object endpoint) Secures a server-side outgoing response.protected booleanAbstractWsSecurityInterceptor.handleSecurementException(WsSecuritySecurementException ex, MessageContext messageContext) Handles an securement exception.protected booleanAbstractWsSecurityInterceptor.handleValidationException(WsSecurityValidationException ex, MessageContext messageContext) Handles an invalid SOAP message.protected abstract voidAbstractWsSecurityInterceptor.secureMessage(SoapMessage soapMessage, MessageContext messageContext) Abstract template method.protected abstract voidAbstractWsSecurityInterceptor.validateMessage(SoapMessage soapMessage, MessageContext messageContext) Abstract template method. -
Uses of MessageContext in org.springframework.ws.soap.security.wss4j2
Methods in org.springframework.ws.soap.security.wss4j2 with parameters of type MessageContextModifier and TypeMethodDescriptionprotected org.apache.wss4j.dom.handler.RequestDataWss4jSecurityInterceptor.initializeRequestData(MessageContext messageContext) Creates and initializes a request data for the given message context.protected org.apache.wss4j.dom.handler.RequestDataWss4jSecurityInterceptor.initializeValidationRequestData(MessageContext messageContext) Creates and initializes a request data for the given message context.protected voidWss4jSecurityInterceptor.secureMessage(SoapMessage soapMessage, MessageContext messageContext) protected voidWss4jSecurityInterceptor.validateMessage(SoapMessage soapMessage, MessageContext messageContext) -
Uses of MessageContext in org.springframework.ws.soap.server
Methods in org.springframework.ws.soap.server with parameters of type MessageContextModifier and TypeMethodDescriptionprotected booleanSoapMessageDispatcher.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 MessageContextModifier and TypeMethodDescriptionprotected voidSimpleSoapExceptionResolver.customizeFault(MessageContext messageContext, @Nullable Object endpoint, Exception ex, SoapFault fault) Empty template method to allow subclasses an opportunity to customize the givenSoapFault.protected final booleanAbstractSoapFaultDefinitionExceptionResolver.resolveExceptionInternal(MessageContext messageContext, @Nullable Object endpoint, Exception ex) protected final booleanSimpleSoapExceptionResolver.resolveExceptionInternal(MessageContext messageContext, @Nullable Object endpoint, Exception ex) -
Uses of MessageContext in org.springframework.ws.soap.server.endpoint.adapter.method
Methods in org.springframework.ws.soap.server.endpoint.adapter.method with parameters of type MessageContextModifier and TypeMethodDescription@Nullable ObjectSoapHeaderElementMethodArgumentResolver.resolveArgument(MessageContext messageContext, org.springframework.core.MethodParameter parameter) @Nullable ObjectSoapMethodArgumentResolver.resolveArgument(MessageContext messageContext, org.springframework.core.MethodParameter parameter) -
Uses of MessageContext in org.springframework.ws.soap.server.endpoint.interceptor
Methods in org.springframework.ws.soap.server.endpoint.interceptor with parameters of type MessageContextModifier and TypeMethodDescriptionbooleanSoapEnvelopeLoggingInterceptor.handleFault(MessageContext messageContext, Object endpoint) protected booleanAbstractFaultCreatingValidatingInterceptor.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 MessageContextModifier and TypeMethodDescriptionprotected final EndpointInvocationChainSoapActionAnnotationMethodEndpointMapping.createEndpointInvocationChain(MessageContext messageContext, Object endpoint, EndpointInterceptor[] interceptors) Creates a newSoapEndpointInvocationChainbased on the given endpoint, and the set interceptors, and actors/roles.protected final EndpointInvocationChainSoapActionEndpointMapping.createEndpointInvocationChain(MessageContext messageContext, Object endpoint, EndpointInterceptor[] interceptors) Creates a newSoapEndpointInvocationChainbased on the given endpoint, and the set interceptors, and actors/roles.@Nullable EndpointInvocationChainDelegatingSoapEndpointMapping.getEndpoint(MessageContext messageContext) Creates a newSoapEndpointInvocationChainbased on the delegate endpoint, the delegate interceptors, and set actors/roles.protected @Nullable StringSoapActionAnnotationMethodEndpointMapping.getLookupKeyForMessage(MessageContext messageContext) protected @Nullable StringSoapActionEndpointMapping.getLookupKeyForMessage(MessageContext messageContext) -
Uses of MessageContext in org.springframework.ws.transport
Methods in org.springframework.ws.transport with parameters of type MessageContextModifier and TypeMethodDescriptionvoidWebServiceMessageReceiver.receive(MessageContext messageContext) Receives the given message context.