@Produces(value="application/x-www-form-urlencoded") @Consumes(value="application/x-www-form-urlencoded") @Singleton public final class FormMultivaluedMapProvider extends AbstractFormProvider<MultivaluedMap<String,String>>
application/x-www-form-urlencoded
entity type to/from multi-valued map
instance.UTF8
Constructor and Description |
---|
FormMultivaluedMapProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
MultivaluedMap<String,String> |
readFrom(Class<MultivaluedMap<String,String>> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
void |
writeTo(MultivaluedMap<String,String> t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
readFrom, writeTo
getCharset, getSize, readFromAsString, writeTo, writeTo, writeToAsString
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
public MultivaluedMap<String,String> readFrom(Class<MultivaluedMap<String,String>> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException
IOException
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
public void writeTo(MultivaluedMap<String,String> t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException
IOException
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.