Modifier and Type | Field and Description |
---|---|
static String |
REPLACED_BODY |
Constructor and Description |
---|
TestMessageBodyReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> aClass,
Type type,
Annotation[] annotations,
jakarta.ws.rs.core.MediaType mediaType) |
String |
readFrom(Class<String> aClass,
Type type,
Annotation[] annotations,
jakarta.ws.rs.core.MediaType mediaType,
jakarta.ws.rs.core.MultivaluedMap<String,String> multivaluedMap,
InputStream inputStream) |
public static final String REPLACED_BODY
public boolean isReadable(Class<?> aClass, Type type, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
isReadable
in interface jakarta.ws.rs.ext.MessageBodyReader<String>
public String readFrom(Class<String> aClass, Type type, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,String> multivaluedMap, InputStream inputStream) throws IOException, jakarta.ws.rs.WebApplicationException
readFrom
in interface jakarta.ws.rs.ext.MessageBodyReader<String>
IOException
jakarta.ws.rs.WebApplicationException
Copyright © 2017 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.