org.springframework.ws.transport.http
Class WebServiceMessageReceiverHandlerAdapter
java.lang.Object
org.springframework.ws.transport.support.WebServiceMessageReceiverObjectSupport
org.springframework.ws.transport.http.WebServiceMessageReceiverHandlerAdapter
- All Implemented Interfaces:
- InitializingBean, HandlerAdapter
public class WebServiceMessageReceiverHandlerAdapter
- extends WebServiceMessageReceiverObjectSupport
- implements HandlerAdapter
Adapter to use the WebServiceMessageReceiver
interface with the generic DispatcherServlet
. Requires a WebServiceMessageFactory
which is used to convert the incoming HttpServletRequest
into a WebServiceMessage
, and
passes that context to the mapped WebServiceMessageReceiver
. If a response is created, that is sent via
the HttpServletResponse
.
Note that the MessageDispatcher
implements the WebServiceMessageReceiver
interface,
enabling this adapter to function as a gateway to further message handling logic.
- Since:
- 1.0.0
- Author:
- Arjen Poutsma
- See Also:
WebServiceMessageReceiverObjectSupport.setMessageFactory(org.springframework.ws.WebServiceMessageFactory)
,
WebServiceMessageReceiver
,
WebServiceMessageFactory
,
MessageDispatcher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebServiceMessageReceiverHandlerAdapter
public WebServiceMessageReceiverHandlerAdapter()
getLastModified
public long getLastModified(HttpServletRequest request,
Object handler)
- Specified by:
getLastModified
in interface HandlerAdapter
handle
public ModelAndView handle(HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse,
Object handler)
throws Exception
- Specified by:
handle
in interface HandlerAdapter
- Throws:
Exception
supports
public boolean supports(Object handler)
- Specified by:
supports
in interface HandlerAdapter
Copyright © 2005-2010 The Spring Web Services Framework. All Rights Reserved.