@Provider public class UrlEncodedFormRequestReader extends Object implements MessageBodyReader<ExecutionRequest>
ExecutionRequest from a urlencoded POST (Needed for OAuth
calls)| Constructor and Description |
|---|
UrlEncodedFormRequestReader() |
| Modifier and Type | Method and Description |
|---|---|
CoreSession |
getCoreSession() |
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
ExecutionRequest |
readFrom(Class<ExecutionRequest> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
public CoreSession getCoreSession()
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
isReadable in interface MessageBodyReader<ExecutionRequest>public ExecutionRequest readFrom(Class<ExecutionRequest> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException, WebApplicationException
readFrom in interface MessageBodyReader<ExecutionRequest>IOExceptionWebApplicationExceptionCopyright © 2013 Nuxeo SA. All Rights Reserved.