org.xwiki.rest.representations.objects
Class TextPlainPropertyReader
java.lang.Object
org.xwiki.rest.representations.TextPlainReader<Property>
org.xwiki.rest.representations.objects.TextPlainPropertyReader
- All Implemented Interfaces:
- javax.ws.rs.ext.MessageBodyReader<Property>, XWikiRestComponent
@Component(value="org.xwiki.rest.representations.objects.TextPlainPropertyReader")
@Provider
public class TextPlainPropertyReader
- extends TextPlainReader<Property>
- Version:
- $Id: TextPlainPropertyReader.java 21281 2009-06-13 19:22:09Z sdumitriu $
|
Method Summary |
boolean |
isReadable(java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
|
Property |
readFrom(java.lang.Class<Property> 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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextPlainPropertyReader
public TextPlainPropertyReader()
isReadable
public boolean isReadable(java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
readFrom
public Property readFrom(java.lang.Class<Property> 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
- Throws:
java.io.IOException
javax.ws.rs.WebApplicationException
Copyright © 2004-2009 XWiki. All Rights Reserved.