@Provider
public class FormMapProvider
extends java.lang.Object
implements javax.ws.rs.ext.MessageBodyReader<java.util.Map<java.lang.String,java.lang.Object>>
Map<String, Object>
, where Object
is either a String
, a List<String>
or null.Constructor and Description |
---|
FormMapProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
java.util.Map<java.lang.String,java.lang.Object> |
readFrom(java.lang.Class<java.util.Map<java.lang.String,java.lang.Object>> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> httpHeaders,
java.io.InputStream entityStream) |
public boolean isReadable(java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<java.util.Map<java.lang.String,java.lang.Object>>
public java.util.Map<java.lang.String,java.lang.Object> readFrom(java.lang.Class<java.util.Map<java.lang.String,java.lang.Object>> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> httpHeaders, java.io.InputStream entityStream) throws java.io.IOException, javax.ws.rs.WebApplicationException
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<java.util.Map<java.lang.String,java.lang.Object>>
java.io.IOException
javax.ws.rs.WebApplicationException