Class JaxrsServerFormUrlEncodedProvider

java.lang.Object
org.jboss.resteasy.plugins.providers.JaxrsServerFormUrlEncodedProvider
All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyReader<jakarta.ws.rs.core.Form>

@Priority(2000) @Provider @Produces("application/x-www-form-urlencoded") @Consumes("application/x-www-form-urlencoded") public class JaxrsServerFormUrlEncodedProvider extends Object implements jakarta.ws.rs.ext.MessageBodyReader<jakarta.ws.rs.core.Form>
  • Field Details

    • useContainerParams

      protected boolean useContainerParams
  • Constructor Details

    • JaxrsServerFormUrlEncodedProvider

      public JaxrsServerFormUrlEncodedProvider(boolean useContainerParams)
  • Method Details

    • isReadable

      public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
      Specified by:
      isReadable in interface jakarta.ws.rs.ext.MessageBodyReader<jakarta.ws.rs.core.Form>
    • readFrom

      public jakarta.ws.rs.core.Form readFrom(Class<jakarta.ws.rs.core.Form> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException, jakarta.ws.rs.WebApplicationException
      Specified by:
      readFrom in interface jakarta.ws.rs.ext.MessageBodyReader<jakarta.ws.rs.core.Form>
      Throws:
      IOException
      jakarta.ws.rs.WebApplicationException