org.glassfish.jersey.examples.sysprops
Class PropertiesReader
java.lang.Object
org.glassfish.jersey.examples.sysprops.PropertiesReader
- All Implemented Interfaces:
- MessageBodyReader<java.util.Set<java.lang.String>>
public class PropertiesReader
- extends java.lang.Object
- implements MessageBodyReader<java.util.Set<java.lang.String>>
- Author:
- Martin Matula (martin.matula at oracle.com)
|
Method Summary |
boolean |
isReadable(java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType)
|
java.util.Set<java.lang.String> |
readFrom(java.lang.Class<java.util.Set<java.lang.String>> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<java.lang.String,java.lang.String> httpHeaders,
java.io.InputStream entityStream)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesReader
public PropertiesReader()
isReadable
public boolean isReadable(java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType)
- Specified by:
isReadable in interface MessageBodyReader<java.util.Set<java.lang.String>>
readFrom
public java.util.Set<java.lang.String> readFrom(java.lang.Class<java.util.Set<java.lang.String>> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<java.lang.String,java.lang.String> httpHeaders,
java.io.InputStream entityStream)
throws java.io.IOException,
WebApplicationException
- Specified by:
readFrom in interface MessageBodyReader<java.util.Set<java.lang.String>>
- Throws:
java.io.IOException
WebApplicationException
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.