Class DuplicateDeploymentReader

java.lang.Object
org.jboss.resteasy.test.core.basic.resource.DuplicateDeploymentReader
All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<String>

public class DuplicateDeploymentReader extends Object implements jakarta.ws.rs.ext.MessageBodyReader<String>
  • Constructor Details

    • DuplicateDeploymentReader

      public DuplicateDeploymentReader()
  • 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<String>
    • readFrom

      public String readFrom(Class<String> 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<String>
      Throws:
      IOException
      jakarta.ws.rs.WebApplicationException