org.glassfish.jersey.message.internal
Class FormMultivaluedMapProvider
java.lang.Object
org.glassfish.jersey.message.internal.AbstractMessageReaderWriterProvider<T>
org.glassfish.jersey.message.internal.AbstractFormProvider<MultivaluedMap<java.lang.String,java.lang.String>>
org.glassfish.jersey.message.internal.FormMultivaluedMapProvider
- All Implemented Interfaces:
- MessageBodyReader<MultivaluedMap<java.lang.String,java.lang.String>>, MessageBodyWriter<MultivaluedMap<java.lang.String,java.lang.String>>
public final class FormMultivaluedMapProvider
- extends AbstractFormProvider<MultivaluedMap<java.lang.String,java.lang.String>>
Provider for marshalling/un-marshalling of application/x-www-form-urlencoded
entity type to/from multi-valued map instance.
- Author:
- Paul Sandoz, Marek Potociar (marek.potociar at oracle.com)
|
Method Summary |
boolean |
isReadable(java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType)
|
boolean |
isWriteable(java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType)
|
MultivaluedMap<java.lang.String,java.lang.String> |
readFrom(java.lang.Class<MultivaluedMap<java.lang.String,java.lang.String>> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<java.lang.String,java.lang.String> httpHeaders,
java.io.InputStream entityStream)
|
void |
writeTo(MultivaluedMap<java.lang.String,java.lang.String> t,
java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<java.lang.String,java.lang.Object> httpHeaders,
java.io.OutputStream entityStream)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormMultivaluedMapProvider
public FormMultivaluedMapProvider()
isReadable
public boolean isReadable(java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType)
readFrom
public MultivaluedMap<java.lang.String,java.lang.String> readFrom(java.lang.Class<MultivaluedMap<java.lang.String,java.lang.String>> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<java.lang.String,java.lang.String> httpHeaders,
java.io.InputStream entityStream)
throws java.io.IOException
- Throws:
java.io.IOException
isWriteable
public boolean isWriteable(java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType)
writeTo
public void writeTo(MultivaluedMap<java.lang.String,java.lang.String> t,
java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<java.lang.String,java.lang.Object> httpHeaders,
java.io.OutputStream entityStream)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.