Package org.opennms.web.rest.v1
Class FormPropertiesReader
- java.lang.Object
-
- org.opennms.web.rest.v1.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>
-
-
Constructor Summary
Constructors Constructor Description FormPropertiesReader()
-
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)
-
-
-
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 interfacejavax.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 interfacejavax.ws.rs.ext.MessageBodyReader<MultivaluedMapImpl>
- Throws:
java.io.IOException
javax.ws.rs.WebApplicationException
-
-