| 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,
javax.ws.rs.core.MediaType mediaType) |
String |
readFrom(Class<String> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> multivaluedMap,
InputStream inputStream) |
public static final String REPLACED_BODY
public boolean isReadable(Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable in interface javax.ws.rs.ext.MessageBodyReader<String>public String readFrom(Class<String> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> multivaluedMap, InputStream inputStream) throws IOException, javax.ws.rs.WebApplicationException
readFrom in interface javax.ws.rs.ext.MessageBodyReader<String>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2021 Eclipse Foundation. All rights reserved.