org.glassfish.jersey.examples.sysprops
Class PropertiesReader
java.lang.Object
org.glassfish.jersey.examples.sysprops.PropertiesReader
- All Implemented Interfaces:
- MessageBodyReader<Set<String>>
public class PropertiesReader
- extends Object
- implements MessageBodyReader<Set<String>>
- Author:
- Martin Matula (martin.matula at oracle.com)
| 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(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
- Specified by:
isReadable in interface MessageBodyReader<Set<String>>
readFrom
public Set<String> readFrom(Class<Set<String>> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
throws IOException,
WebApplicationException
- Specified by:
readFrom in interface MessageBodyReader<Set<String>>
- Throws:
IOException
WebApplicationException
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.