org.xwiki.annotation.rest.internal.representations
Class FormUrlEncodedAnnotationUpdateRequestReader
java.lang.Object
org.xwiki.annotation.rest.internal.representations.AbstractFormUrlEncodedAnnotationRequestReader<T>
org.xwiki.annotation.rest.internal.representations.AbstractFormUrlEncodedAnnotationUpdateRequestReader<AnnotationUpdateRequest>
org.xwiki.annotation.rest.internal.representations.FormUrlEncodedAnnotationUpdateRequestReader
- All Implemented Interfaces:
- javax.ws.rs.ext.MessageBodyReader<AnnotationUpdateRequest>, XWikiRestComponent
@Component(value="org.xwiki.annotation.rest.internal.representations.FormUrlEncodedAnnotationUpdateRequestReader")
@Provider
public class FormUrlEncodedAnnotationUpdateRequestReader
- extends AbstractFormUrlEncodedAnnotationUpdateRequestReader<AnnotationUpdateRequest>
Implementation of the form url encoded reader for the annotation update requests.
- Since:
- 2.3M1
- Version:
- $Id$
|
Method Summary |
protected AnnotationUpdateRequest |
getReadObjectInstance(ObjectFactory factory)
Helper function to provide an instance of the read object from the object factory. |
boolean |
isReadable(java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormUrlEncodedAnnotationUpdateRequestReader
public FormUrlEncodedAnnotationUpdateRequestReader()
getReadObjectInstance
protected AnnotationUpdateRequest getReadObjectInstance(ObjectFactory factory)
- Helper function to provide an instance of the read object from the object factory.
- Specified by:
getReadObjectInstance in class AbstractFormUrlEncodedAnnotationRequestReader<AnnotationUpdateRequest>
- Parameters:
factory - the object factory
- Returns:
- an instance of the read type T, as built by the object factory.
- See Also:
#getReadObjectInstance(org.xwiki.annotation.rest.model.jaxb.ObjectFactory)
isReadable
public boolean isReadable(java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
-
- See Also:
MessageBodyReader.isReadable(java.lang.Class, java.lang.reflect.Type,
java.lang.annotation.Annotation[], javax.ws.rs.core.MediaType)
Copyright © 2004-2011 XWiki. All Rights Reserved.