public abstract class AbstractRestHandlerExceptionResolver
extends AbstractHandlerExceptionResolver
HandlerExceptionResolver that converts objects using provided
list of HttpMessageConverter| Constructor and Description |
|---|
AbstractRestHandlerExceptionResolver() |
| Modifier and Type | Method and Description |
|---|---|
<any>[] |
getMessageConverters() |
protected WebserviceErrorFactory |
getWebserviceErrorFactory() |
void |
setMessageConverters(<any>[] messageConverters) |
void |
setWebserviceErrorFactory(WebserviceErrorFactory webserviceErrorFactory) |
protected ModelAndView |
writeWithMessageConverters(Object returnValue,
HttpInputMessage inputMessage,
HttpOutputMessage outputMessage) |
public AbstractRestHandlerExceptionResolver()
public <any>[] getMessageConverters()
public void setMessageConverters(<any>[] messageConverters)
protected ModelAndView writeWithMessageConverters(Object returnValue, HttpInputMessage inputMessage, HttpOutputMessage outputMessage) throws ServletException, IOException
ServletExceptionIOExceptionprotected WebserviceErrorFactory getWebserviceErrorFactory()
public void setWebserviceErrorFactory(WebserviceErrorFactory webserviceErrorFactory)
Copyright © 2017 SAP SE. All Rights Reserved.