Class DirectoryMessageBodyReader

java.lang.Object
com.atlassian.crowd.plugins.testkit.rest.util.DirectoryMessageBodyReader
All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<DirectoryImpl>

@Provider public class DirectoryMessageBodyReader extends Object implements jakarta.ws.rs.ext.MessageBodyReader<DirectoryImpl>
  • Constructor Details

    • DirectoryMessageBodyReader

      public DirectoryMessageBodyReader()
  • Method Details

    • isReadable

      public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
      Specified by:
      isReadable in interface jakarta.ws.rs.ext.MessageBodyReader<DirectoryImpl>
    • readFrom

      public DirectoryImpl readFrom(Class<DirectoryImpl> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException, jakarta.ws.rs.WebApplicationException
      Specified by:
      readFrom in interface jakarta.ws.rs.ext.MessageBodyReader<DirectoryImpl>
      Throws:
      IOException
      jakarta.ws.rs.WebApplicationException