Class StringReader
java.lang.Object
ee.jakarta.tck.ws.rs.spec.provider.visibility.StringReader
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<String>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionStringReader
(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 TypeMethodDescriptionboolean
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)
-
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 interfacejakarta.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 interfacejakarta.ws.rs.ext.MessageBodyReader<String>
- Throws:
IOException
jakarta.ws.rs.WebApplicationException
-