Class StringReader

java.lang.Object
ee.jakarta.tck.ws.rs.spec.provider.visibility.StringReader
All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<String>

@Provider @Consumes("text/tck") public class StringReader extends Object implements jakarta.ws.rs.ext.MessageBodyReader<String>
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
    StringReader(jakarta.ws.rs.core.HttpHeaders headers)
     
     
    StringReader(jakarta.ws.rs.core.HttpHeaders headers, jakarta.ws.rs.core.UriInfo info)
     
     
    StringReader(jakarta.ws.rs.core.HttpHeaders headers, jakarta.ws.rs.core.UriInfo info, jakarta.ws.rs.core.Application application)
     
     
    StringReader(jakarta.ws.rs.core.HttpHeaders headers, jakarta.ws.rs.core.UriInfo info, jakarta.ws.rs.core.Application application, jakarta.ws.rs.core.Request request)
     
    protected
    StringReader(jakarta.ws.rs.core.HttpHeaders headers, jakarta.ws.rs.core.UriInfo info, jakarta.ws.rs.core.Application application, jakarta.ws.rs.core.Request request, jakarta.ws.rs.ext.Providers provider)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isReadable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
     
    readFrom(Class<String> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StringReader

      protected StringReader(@Context jakarta.ws.rs.core.HttpHeaders headers, @Context jakarta.ws.rs.core.UriInfo info, @Context jakarta.ws.rs.core.Application application, @Context jakarta.ws.rs.core.Request request, @Context jakarta.ws.rs.ext.Providers provider)
    • StringReader

      public StringReader(@Context jakarta.ws.rs.core.HttpHeaders headers, @Context jakarta.ws.rs.core.UriInfo info, @Context jakarta.ws.rs.core.Application application, @Context jakarta.ws.rs.core.Request request)
    • StringReader

      public StringReader(@Context jakarta.ws.rs.core.HttpHeaders headers, @Context jakarta.ws.rs.core.UriInfo info, @Context jakarta.ws.rs.core.Application application)
    • StringReader

      public StringReader(@Context jakarta.ws.rs.core.HttpHeaders headers, @Context jakarta.ws.rs.core.UriInfo info)
    • StringReader

      public StringReader(@Context jakarta.ws.rs.core.HttpHeaders headers)
  • 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