Class FormPropertiesReader

  • All Implemented Interfaces:
    javax.ws.rs.ext.MessageBodyReader<MultivaluedMapImpl>

    @Provider
    public class FormPropertiesReader
    extends java.lang.Object
    implements javax.ws.rs.ext.MessageBodyReader<MultivaluedMapImpl>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isReadable​(java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaTypes)
      MultivaluedMapImpl readFrom​(java.lang.Class<MultivaluedMapImpl> type, java.lang.reflect.Type genericType, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<java.lang.String,​java.lang.String> httpHeaders, java.io.InputStream entityStream)
      void setHttpServletRequest​(javax.servlet.http.HttpServletRequest request)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FormPropertiesReader

        public FormPropertiesReader()
    • Method Detail

      • setHttpServletRequest

        @Context
        public void setHttpServletRequest​(javax.servlet.http.HttpServletRequest request)
      • isReadable

        public boolean isReadable​(java.lang.Class<?> type,
                                  java.lang.reflect.Type genericType,
                                  java.lang.annotation.Annotation[] annotations,
                                  javax.ws.rs.core.MediaType mediaTypes)
        Specified by:
        isReadable in interface javax.ws.rs.ext.MessageBodyReader<MultivaluedMapImpl>
      • readFrom

        public MultivaluedMapImpl readFrom​(java.lang.Class<MultivaluedMapImpl> type,
                                           java.lang.reflect.Type genericType,
                                           java.lang.annotation.Annotation[] annotations,
                                           javax.ws.rs.core.MediaType mediaType,
                                           javax.ws.rs.core.MultivaluedMap<java.lang.String,​java.lang.String> httpHeaders,
                                           java.io.InputStream entityStream)
                                    throws java.io.IOException,
                                           javax.ws.rs.WebApplicationException
        Specified by:
        readFrom in interface javax.ws.rs.ext.MessageBodyReader<MultivaluedMapImpl>
        Throws:
        java.io.IOException
        javax.ws.rs.WebApplicationException