Class LockInfoWithResourceUriToLockResponseHttpConverter

java.lang.Object
org.springframework.http.converter.AbstractHttpMessageConverter<LockInfoWithResourceUri>
io.jmix.webdavrest.converter.http.LockInfoWithResourceUriToLockResponseHttpConverter
All Implemented Interfaces:
org.springframework.http.converter.HttpMessageConverter<LockInfoWithResourceUri>

@Component("webdav_LockInfoWithResourceUriToLockResponseHttpConverter") public class LockInfoWithResourceUriToLockResponseHttpConverter extends org.springframework.http.converter.AbstractHttpMessageConverter<LockInfoWithResourceUri>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.springframework.core.convert.ConversionService
     
    protected WebdavTools
     

    Fields inherited from class org.springframework.http.converter.AbstractHttpMessageConverter

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
    LockInfoWithResourceUriToLockResponseHttpConverter(org.springframework.core.convert.ConversionService conversionService, WebdavTools wt)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    readInternal(Class<? extends LockInfoWithResourceUri> clazz, org.springframework.http.HttpInputMessage inputMessage)
     
    protected boolean
    supports(Class<?> clazz)
     
    protected void
    writeInternal(LockInfoWithResourceUri lockInfoWithResourceUri, 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, 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
  • Field Details

    • conversionService

      protected org.springframework.core.convert.ConversionService conversionService
    • wt

      protected WebdavTools wt
  • Constructor Details

    • LockInfoWithResourceUriToLockResponseHttpConverter

      public LockInfoWithResourceUriToLockResponseHttpConverter(org.springframework.core.convert.ConversionService conversionService, WebdavTools wt)
  • Method Details

    • supports

      protected boolean supports(Class<?> clazz)
      Specified by:
      supports in class org.springframework.http.converter.AbstractHttpMessageConverter<LockInfoWithResourceUri>
    • readInternal

      protected LockInfoWithResourceUri readInternal(Class<? extends LockInfoWithResourceUri> clazz, org.springframework.http.HttpInputMessage inputMessage) throws IOException, org.springframework.http.converter.HttpMessageNotReadableException
      Specified by:
      readInternal in class org.springframework.http.converter.AbstractHttpMessageConverter<LockInfoWithResourceUri>
      Throws:
      IOException
      org.springframework.http.converter.HttpMessageNotReadableException
    • writeInternal

      protected void writeInternal(LockInfoWithResourceUri lockInfoWithResourceUri, org.springframework.http.HttpOutputMessage outputMessage) throws IOException, org.springframework.http.converter.HttpMessageNotWritableException
      Specified by:
      writeInternal in class org.springframework.http.converter.AbstractHttpMessageConverter<LockInfoWithResourceUri>
      Throws:
      IOException
      org.springframework.http.converter.HttpMessageNotWritableException