Class AbstractFormProvider<T>
java.lang.Object
org.glassfish.jersey.message.internal.AbstractMessageReaderWriterProvider<T>
org.glassfish.jersey.message.internal.AbstractFormProvider<T>
- Type Parameters:
T
- form type.
- All Implemented Interfaces:
MessageBodyReader<T>
,MessageBodyWriter<T>
- Direct Known Subclasses:
FormMultivaluedMapProvider
,FormProvider
Abstract base class for form entity types marshalling & un-marshalling support.
- Author:
- Paul Sandoz, Marek Potociar
-
Field Summary
Fields inherited from class org.glassfish.jersey.message.internal.AbstractMessageReaderWriterProvider
UTF8
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<M extends MultivaluedMap<String,
String>>
MreadFrom
(M map, MediaType mediaType, boolean decode, InputStream entityStream) <M extends MultivaluedMap<String,
String>>
voidwriteTo
(M t, MediaType mediaType, OutputStream entityStream) Methods inherited from class org.glassfish.jersey.message.internal.AbstractMessageReaderWriterProvider
getCharset, getSize, readFromAsString, writeTo, writeTo, writeToAsString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jakarta.ws.rs.ext.MessageBodyReader
isReadable, readFrom
Methods inherited from interface jakarta.ws.rs.ext.MessageBodyWriter
isWriteable, writeTo
-
Constructor Details
-
AbstractFormProvider
public AbstractFormProvider()
-
-
Method Details
-
readFrom
public <M extends MultivaluedMap<String,String>> M readFrom(M map, MediaType mediaType, boolean decode, InputStream entityStream) throws IOException - Throws:
IOException
-
writeTo
public <M extends MultivaluedMap<String,String>> void writeTo(M t, MediaType mediaType, OutputStream entityStream) throws IOException - Throws:
IOException
-