org.xwiki.rest.internal.representations.pages
Class FormUrlEncodedPageReader
java.lang.Object
org.xwiki.rest.internal.representations.pages.FormUrlEncodedPageReader
- All Implemented Interfaces:
- MessageBodyReader<Page>, XWikiRestComponent
@Component(value="org.xwiki.rest.internal.representations.pages.FormUrlEncodedPageReader")
@Provider
public class FormUrlEncodedPageReader
- extends Object
- implements MessageBodyReader<Page>, XWikiRestComponent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormUrlEncodedPageReader
public FormUrlEncodedPageReader()
isReadable
public boolean isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType)
- Specified by:
isReadable
in interface MessageBodyReader<Page>
readFrom
public Page readFrom(Class<Page> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
throws IOException,
WebApplicationException
- Specified by:
readFrom
in interface MessageBodyReader<Page>
- Throws:
IOException
WebApplicationException