Class WebdavExceptionHttpConverter
java.lang.Object
org.springframework.http.converter.AbstractHttpMessageConverter<WebdavException>
io.jmix.webdavrest.converter.http.WebdavExceptionHttpConverter
- All Implemented Interfaces:
org.springframework.http.converter.HttpMessageConverter<WebdavException>
@Component("webdav_WebdavExceptionHttpConverter")
public class WebdavExceptionHttpConverter
extends org.springframework.http.converter.AbstractHttpMessageConverter<WebdavException>
-
Field Summary
Fields inherited from class org.springframework.http.converter.AbstractHttpMessageConverter
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected WebdavException
readInternal
(Class<? extends WebdavException> clazz, org.springframework.http.HttpInputMessage inputMessage) protected boolean
protected void
writeInternal
(WebdavException ex, org.springframework.http.HttpOutputMessage outputMessage) Methods inherited from class org.springframework.http.converter.AbstractHttpMessageConverter
addDefaultHeaders, canRead, canRead, canWrite, canWrite, getContentLength, getDefaultCharset, getDefaultContentType, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, supportsRepeatableWrites, write
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.http.converter.HttpMessageConverter
getSupportedMediaTypes
-
Constructor Details
-
WebdavExceptionHttpConverter
public WebdavExceptionHttpConverter()
-
-
Method Details
-
supports
- Specified by:
supports
in classorg.springframework.http.converter.AbstractHttpMessageConverter<WebdavException>
-
readInternal
protected WebdavException readInternal(Class<? extends WebdavException> clazz, org.springframework.http.HttpInputMessage inputMessage) throws IOException, org.springframework.http.converter.HttpMessageNotReadableException - Specified by:
readInternal
in classorg.springframework.http.converter.AbstractHttpMessageConverter<WebdavException>
- Throws:
IOException
org.springframework.http.converter.HttpMessageNotReadableException
-
writeInternal
protected void writeInternal(WebdavException ex, org.springframework.http.HttpOutputMessage outputMessage) throws IOException, org.springframework.http.converter.HttpMessageNotWritableException - Specified by:
writeInternal
in classorg.springframework.http.converter.AbstractHttpMessageConverter<WebdavException>
- Throws:
IOException
org.springframework.http.converter.HttpMessageNotWritableException
-