public final class EndpointHandlerAdapter extends Object
HandlerAdapter for Endpoints. 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
Exceptionpublic void setContentNegotiationManager(ContentNegotiationManager contentNegotiationManager)
public void setMessageConverters(List<> messageConverters)
Copyright © 2013. All rights reserved.