@Provider
 @Produces(value={"application/json","text/json","*/*"})
 @Consumes(value={"application/json","text/json","*/*"})
public class JsonBindingProvider
extends AbstractMessageReaderWriterProvider<Object>
UTF8| Constructor and Description | 
|---|
JsonBindingProvider(jakarta.ws.rs.ext.Providers providers)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
isReadable(Class<?> type,
          Type genericType,
          Annotation[] annotations,
          jakarta.ws.rs.core.MediaType mediaType)  | 
boolean | 
isWriteable(Class<?> type,
           Type genericType,
           Annotation[] annotations,
           jakarta.ws.rs.core.MediaType mediaType)  | 
Object | 
readFrom(Class<Object> type,
        Type genericType,
        Annotation[] annotations,
        jakarta.ws.rs.core.MediaType mediaType,
        jakarta.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
        InputStream entityStream)  | 
void | 
writeTo(Object o,
       Class<?> type,
       Type genericType,
       Annotation[] annotations,
       jakarta.ws.rs.core.MediaType mediaType,
       jakarta.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
       OutputStream entityStream)  | 
getCharset, getSize, readFromAsString, writeTo, writeTo, writeToAsStringpublic JsonBindingProvider(@Context
                           jakarta.ws.rs.ext.Providers providers)
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
public Object readFrom(Class<Object> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException, jakarta.ws.rs.WebApplicationException
IOExceptionjakarta.ws.rs.WebApplicationExceptionpublic boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
public void writeTo(Object o, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException, jakarta.ws.rs.WebApplicationException
IOExceptionjakarta.ws.rs.WebApplicationExceptionCopyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.