@Provider @Consumes(value="application/json") public class JsonbInvokeMethodMessageBodyReader extends Object implements javax.ws.rs.ext.MessageBodyReader<InvokeMethodRequest>
InvokeMethodRequest in case of JSONB serialisation.
In that case the InvokeMethodRequest.argValues are JSON representation of the original Object[] for
the method arguments.| Constructor and Description |
|---|
JsonbInvokeMethodMessageBodyReader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
InvokeMethodRequest |
readFrom(Class<InvokeMethodRequest> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable in interface javax.ws.rs.ext.MessageBodyReader<InvokeMethodRequest>public InvokeMethodRequest readFrom(Class<InvokeMethodRequest> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException, javax.ws.rs.WebApplicationException
readFrom in interface javax.ws.rs.ext.MessageBodyReader<InvokeMethodRequest>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2019. All rights reserved.