Class ServerFormUrlEncodedProvider
java.lang.Object
org.jboss.resteasy.reactive.common.providers.serialisers.MapAsFormUrlEncodedProvider
org.jboss.resteasy.reactive.server.providers.serialisers.ServerFormUrlEncodedProvider
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<jakarta.ws.rs.core.MultivaluedMap>
,jakarta.ws.rs.ext.MessageBodyWriter<jakarta.ws.rs.core.MultivaluedMap>
,ServerMessageBodyReader<jakarta.ws.rs.core.MultivaluedMap>
,ServerMessageBodyWriter<jakarta.ws.rs.core.MultivaluedMap>
@Produces("application/x-www-form-urlencoded")
@Consumes("application/x-www-form-urlencoded")
@ConstrainedTo(CLIENT)
public class ServerFormUrlEncodedProvider
extends MapAsFormUrlEncodedProvider
implements ServerMessageBodyReader<jakarta.ws.rs.core.MultivaluedMap>, ServerMessageBodyWriter<jakarta.ws.rs.core.MultivaluedMap>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter
ServerMessageBodyWriter.AllWriteableMessageBodyWriter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isReadable
(Class<?> type, Type genericType, ResteasyReactiveResourceInfo lazyMethod, jakarta.ws.rs.core.MediaType mediaType) boolean
isWriteable
(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType) jakarta.ws.rs.core.MultivaluedMap
readFrom
(Class<jakarta.ws.rs.core.MultivaluedMap> type, Type genericType, jakarta.ws.rs.core.MediaType mediaType, ServerRequestContext context) void
writeResponse
(jakarta.ws.rs.core.MultivaluedMap o, Type genericType, ServerRequestContext context) Methods inherited from class org.jboss.resteasy.reactive.common.providers.serialisers.MapAsFormUrlEncodedProvider
doReadFrom, isReadable, isWriteable, multiValuedMapToString, parseForm, readFrom, writeTo
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
getSize, isWriteable, writeTo
-
Constructor Details
-
ServerFormUrlEncodedProvider
public ServerFormUrlEncodedProvider()
-
-
Method Details
-
isReadable
public boolean isReadable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo lazyMethod, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
isReadable
in interfaceServerMessageBodyReader<jakarta.ws.rs.core.MultivaluedMap>
-
readFrom
public jakarta.ws.rs.core.MultivaluedMap readFrom(Class<jakarta.ws.rs.core.MultivaluedMap> type, Type genericType, jakarta.ws.rs.core.MediaType mediaType, ServerRequestContext context) throws jakarta.ws.rs.WebApplicationException, IOException - Specified by:
readFrom
in interfaceServerMessageBodyReader<jakarta.ws.rs.core.MultivaluedMap>
- Throws:
jakarta.ws.rs.WebApplicationException
IOException
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
isWriteable
in interfaceServerMessageBodyWriter<jakarta.ws.rs.core.MultivaluedMap>
-
writeResponse
public void writeResponse(jakarta.ws.rs.core.MultivaluedMap o, Type genericType, ServerRequestContext context) throws jakarta.ws.rs.WebApplicationException - Specified by:
writeResponse
in interfaceServerMessageBodyWriter<jakarta.ws.rs.core.MultivaluedMap>
- Throws:
jakarta.ws.rs.WebApplicationException
-