Class FormProvider

  • All Implemented Interfaces:
    jakarta.ws.rs.ext.MessageBodyReader<jakarta.ws.rs.core.Form>, jakarta.ws.rs.ext.MessageBodyWriter<jakarta.ws.rs.core.Form>

    @Produces({"application/x-www-form-urlencoded","*/*"})
    @Consumes({"application/x-www-form-urlencoded","*/*"})
    @Singleton
    public final class FormProvider
    extends AbstractFormProvider<jakarta.ws.rs.core.Form>
    Provider for marshalling/un-marshalling of application/x-www-form-urlencoded entity type to/from JAX-RS Form instance.
    Author:
    Paul Sandoz, Marek Potociar
    • Constructor Detail

      • FormProvider

        public FormProvider()
    • Method Detail

      • isReadable

        public boolean isReadable​(Class<?> type,
                                  Type genericType,
                                  Annotation[] annotations,
                                  jakarta.ws.rs.core.MediaType mediaType)
      • isWriteable

        public boolean isWriteable​(Class<?> type,
                                   Type genericType,
                                   Annotation[] annotations,
                                   jakarta.ws.rs.core.MediaType mediaType)