@Provider public class GraphQLQueryProvider extends Object implements javax.ws.rs.ext.MessageBodyReader<GraphQLQuery>, javax.ws.rs.ext.MessageBodyWriter<GraphQLQuery>, JsonMessageBodyHandler
mapper| Constructor and Description |
|---|
GraphQLQueryProvider() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(GraphQLQuery graphQLQuery,
Class<?> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
boolean |
isReadable(Class<?> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
boolean |
isWriteable(Class<?> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
GraphQLQuery |
readFrom(Class<GraphQLQuery> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> multivaluedMap,
InputStream inputStream) |
void |
writeTo(GraphQLQuery graphQLQuery,
Class<?> aClass,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> multivaluedMap,
OutputStream outputStream) |
public boolean isReadable(Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable in interface javax.ws.rs.ext.MessageBodyReader<GraphQLQuery>public GraphQLQuery readFrom(Class<GraphQLQuery> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> multivaluedMap, InputStream inputStream) throws IOException, javax.ws.rs.WebApplicationException
readFrom in interface javax.ws.rs.ext.MessageBodyReader<GraphQLQuery>IOExceptionjavax.ws.rs.WebApplicationExceptionpublic boolean isWriteable(Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<GraphQLQuery>public long getSize(GraphQLQuery graphQLQuery, Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<GraphQLQuery>public void writeTo(GraphQLQuery graphQLQuery, Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> multivaluedMap, OutputStream outputStream) throws IOException, javax.ws.rs.WebApplicationException
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<GraphQLQuery>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.