Package io.micronaut.jaxrs.common
Class JaxRsReaderInterceptorContext
java.lang.Object
io.micronaut.jaxrs.common.JaxRsReaderInterceptorContext
- All Implemented Interfaces:
InterceptorContext
,ReaderInterceptorContext
@Internal
public final class JaxRsReaderInterceptorContext
extends Object
implements ReaderInterceptorContext
The implementation of
ReaderInterceptorContext
.- Since:
- 4.6
- Author:
- Denis Stepanov
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
The reader. -
Constructor Summary
ConstructorDescriptionJaxRsReaderInterceptorContext
(Iterator<ReaderInterceptor> interceptors, JaxRsReaderInterceptorContext.IOProceedSupplier<Object> interceptedSupplier, Argument<?> argument, MediaType mediaType, MultivaluedMap<String, String> headers, InputStream inputStream) -
Method Summary
Modifier and TypeMethodDescriptionfinal <T> Argument<T>
getProperty
(String name) Class<?>
getType()
boolean
hasProperty
(String name) proceed()
void
removeProperty
(String name) void
setAnnotations
(Annotation[] annotations) void
setGenericType
(Type genericType) void
void
setMediaType
(MediaType mediaType) void
setProperty
(String name, Object object) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jakarta.ws.rs.ext.InterceptorContext
getAnnotations, getGenericType, getMediaType, getProperty, getPropertyNames, getType, hasProperty, removeProperty, setAnnotations, setGenericType, setMediaType, setProperty, setType
-
Constructor Details
-
JaxRsReaderInterceptorContext
public JaxRsReaderInterceptorContext(Iterator<ReaderInterceptor> interceptors, JaxRsReaderInterceptorContext.IOProceedSupplier<Object> interceptedSupplier, Argument<?> argument, MediaType mediaType, MultivaluedMap<String, String> headers, InputStream inputStream)
-
-
Method Details
-
proceed
- Specified by:
proceed
in interfaceReaderInterceptorContext
- Throws:
IOException
WebApplicationException
-
getInputStream
- Specified by:
getInputStream
in interfaceReaderInterceptorContext
-
setInputStream
- Specified by:
setInputStream
in interfaceReaderInterceptorContext
-
getHeaders
- Specified by:
getHeaders
in interfaceReaderInterceptorContext
-
asArgument
-
hasProperty
- Specified by:
hasProperty
in interfaceInterceptorContext
-
getProperty
- Specified by:
getProperty
in interfaceInterceptorContext
-
getPropertyNames
- Specified by:
getPropertyNames
in interfaceInterceptorContext
-
setProperty
- Specified by:
setProperty
in interfaceInterceptorContext
-
removeProperty
- Specified by:
removeProperty
in interfaceInterceptorContext
-
getAnnotations
- Specified by:
getAnnotations
in interfaceInterceptorContext
-
setAnnotations
- Specified by:
setAnnotations
in interfaceInterceptorContext
-
getType
- Specified by:
getType
in interfaceInterceptorContext
-
setType
- Specified by:
setType
in interfaceInterceptorContext
-
getGenericType
- Specified by:
getGenericType
in interfaceInterceptorContext
-
setGenericType
- Specified by:
setGenericType
in interfaceInterceptorContext
-
getMediaType
- Specified by:
getMediaType
in interfaceInterceptorContext
-
setMediaType
- Specified by:
setMediaType
in interfaceInterceptorContext
-