|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.ws.server.endpoint.interceptor.EndpointInterceptorAdapter
public class EndpointInterceptorAdapter
Default implementation of the EndpointInterceptor
interface, for simplified implementation of
pre-only/post-only interceptors.
Field Summary | |
---|---|
protected Log |
logger
Logger available to subclasses |
Constructor Summary | |
---|---|
EndpointInterceptorAdapter()
|
Method Summary | |
---|---|
boolean |
handleFault(MessageContext messageContext,
Object endpoint)
Returns true . |
boolean |
handleRequest(MessageContext messageContext,
Object endpoint)
Returns true . |
boolean |
handleResponse(MessageContext messageContext,
Object endpoint)
Returns true . |
boolean |
understands(Element header)
Returns false . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final Log logger
Constructor Detail |
---|
public EndpointInterceptorAdapter()
Method Detail |
---|
public boolean understands(Element header)
false
.
public boolean handleRequest(MessageContext messageContext, Object endpoint) throws Exception
true
.
handleRequest
in interface EndpointInterceptor
messageContext
- contains the incoming request messageendpoint
- chosen endpoint to invoke
true
Exception
- in case of errorsMessageContext.getRequest()
public boolean handleResponse(MessageContext messageContext, Object endpoint) throws Exception
true
.
handleResponse
in interface EndpointInterceptor
messageContext
- contains both request and response messagesendpoint
- chosen endpoint to invoke
true
Exception
- in case of errorsMessageContext.getRequest()
,
MessageContext.hasResponse()
,
MessageContext.getResponse()
public boolean handleFault(MessageContext messageContext, Object endpoint)
true
.
handleFault
in interface EndpointInterceptor
messageContext
- contains both request and response messages, the response should contains a Faultendpoint
- chosen endpoint to invoke
true
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |