| Constructor and Description |
|---|
JsonHashMapProvider() |
| Modifier and Type | Method and Description |
|---|---|
static String |
inputStreamAsString(InputStream stream) |
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
HashMap<String,String> |
readFrom(Class<HashMap<String,String>> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream in) |
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
public HashMap<String,String> readFrom(Class<HashMap<String,String>> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> headers, InputStream in) throws IOException
readFrom in interface javax.ws.rs.ext.MessageBodyReader<HashMap<String,String>>IOExceptionpublic static String inputStreamAsString(InputStream stream) throws IOException
IOExceptionCopyright © 2017. All rights reserved.