public class MultiTypedProvider extends Object implements jakarta.ws.rs.client.ClientRequestFilter, jakarta.ws.rs.client.ClientResponseFilter, jakarta.ws.rs.ext.MessageBodyReader<Object>, jakarta.ws.rs.ext.MessageBodyWriter<Object>, jakarta.ws.rs.ext.ReaderInterceptor, jakarta.ws.rs.ext.WriterInterceptor, ResponseExceptionMapper<Throwable>, jakarta.ws.rs.ext.ParamConverterProvider
DEFAULT_PRIORITY| Constructor and Description |
|---|
MultiTypedProvider() |
| Modifier and Type | Method and Description |
|---|---|
Object |
aroundReadFrom(jakarta.ws.rs.ext.ReaderInterceptorContext context) |
void |
aroundWriteTo(jakarta.ws.rs.ext.WriterInterceptorContext context) |
void |
filter(jakarta.ws.rs.client.ClientRequestContext requestContext) |
void |
filter(jakarta.ws.rs.client.ClientRequestContext requestContext,
jakarta.ws.rs.client.ClientResponseContext responseContext) |
<T> jakarta.ws.rs.ext.ParamConverter<T> |
getConverter(Class<T> rawType,
Type genericType,
Annotation[] annotations) |
long |
getSize(Object o,
Class<?> type,
Type genericType,
Annotation[] annotations,
jakarta.ws.rs.core.MediaType mediaType) |
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) |
Throwable |
toThrowable(jakarta.ws.rs.core.Response response) |
void |
writeTo(Object t,
Class<?> type,
Type genericType,
Annotation[] annotations,
jakarta.ws.rs.core.MediaType mediaType,
jakarta.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPriority, handlespublic void filter(jakarta.ws.rs.client.ClientRequestContext requestContext)
throws IOException
filter in interface jakarta.ws.rs.client.ClientRequestFilterIOExceptionpublic void filter(jakarta.ws.rs.client.ClientRequestContext requestContext,
jakarta.ws.rs.client.ClientResponseContext responseContext)
throws IOException
filter in interface jakarta.ws.rs.client.ClientResponseFilterIOExceptionpublic boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
isReadable in interface jakarta.ws.rs.ext.MessageBodyReader<Object>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
readFrom in interface jakarta.ws.rs.ext.MessageBodyReader<Object>IOExceptionjakarta.ws.rs.WebApplicationExceptionpublic boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
isWriteable in interface jakarta.ws.rs.ext.MessageBodyWriter<Object>public long getSize(Object o, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
getSize in interface jakarta.ws.rs.ext.MessageBodyWriter<Object>public void writeTo(Object t, 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
writeTo in interface jakarta.ws.rs.ext.MessageBodyWriter<Object>IOExceptionjakarta.ws.rs.WebApplicationExceptionpublic <T> jakarta.ws.rs.ext.ParamConverter<T> getConverter(Class<T> rawType, Type genericType, Annotation[] annotations)
getConverter in interface jakarta.ws.rs.ext.ParamConverterProviderpublic Object aroundReadFrom(jakarta.ws.rs.ext.ReaderInterceptorContext context) throws IOException, jakarta.ws.rs.WebApplicationException
aroundReadFrom in interface jakarta.ws.rs.ext.ReaderInterceptorIOExceptionjakarta.ws.rs.WebApplicationExceptionpublic void aroundWriteTo(jakarta.ws.rs.ext.WriterInterceptorContext context)
throws IOException,
jakarta.ws.rs.WebApplicationException
aroundWriteTo in interface jakarta.ws.rs.ext.WriterInterceptorIOExceptionjakarta.ws.rs.WebApplicationExceptionpublic Throwable toThrowable(jakarta.ws.rs.core.Response response)
toThrowable in interface ResponseExceptionMapper<Throwable>Copyright © 2017 – 2021 Eclipse Foundation. All rights reserved.
Use is subject to license terms.