public final class EndpointHandlerAdapter extends Object
HandlerAdapter
for Endpoint
s. Similar in may respects to
AbstractMessageConverterMethodProcessor
but not tied to annotated methods.EndpointHandlerMapping
Constructor and Description |
---|
EndpointHandlerAdapter() |
Modifier and Type | Method and Description |
---|---|
long |
getLastModified(HttpServletRequest request,
Object handler) |
ModelAndView |
handle(HttpServletRequest request,
HttpServletResponse response,
Object handler) |
void |
setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager) |
void |
setMessageConverters(List< |
boolean |
supports(Object handler) |
public boolean supports(Object handler)
public long getLastModified(HttpServletRequest request, Object handler)
public ModelAndView handle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception
Exception
public void setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager)
public void setMessageConverters(List<> messageConverters)
Copyright © 2013. All rights reserved.