org.opennms.web.rest
Class FormPropertiesReader

java.lang.Object
  extended by org.opennms.web.rest.FormPropertiesReader
All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyReader<MultivaluedMapImpl>

@Provider
public class FormPropertiesReader
extends Object
implements javax.ws.rs.ext.MessageBodyReader<MultivaluedMapImpl>


Constructor Summary
FormPropertiesReader()
           
 
Method Summary
 boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaTypes)
           
 MultivaluedMapImpl readFrom(Class<MultivaluedMapImpl> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream)
           
 
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

isReadable

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

readFrom

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


Copyright © 2009. All Rights Reserved.