Class AbstractInterceptorContext
- java.lang.Object
-
- org.jboss.resteasy.reactive.server.jaxrs.AbstractInterceptorContext
-
- All Implemented Interfaces:
javax.ws.rs.ext.InterceptorContext
- Direct Known Subclasses:
ReaderInterceptorContextImpl
,WriterInterceptorContextImpl
public abstract class AbstractInterceptorContext extends Object implements javax.ws.rs.ext.InterceptorContext
-
-
Field Summary
Fields Modifier and Type Field Description protected Annotation[]
annotations
protected ResteasyReactiveRequestContext
context
protected Type
genericType
protected javax.ws.rs.core.MediaType
mediaType
protected boolean
rediscoveryNeeded
protected ServerSerialisers
serialisers
protected Class<?>
type
-
Constructor Summary
Constructors Constructor Description AbstractInterceptorContext(ResteasyReactiveRequestContext context, Annotation[] annotations, Class<?> type, Type genericType, javax.ws.rs.core.MediaType mediaType, ServerSerialisers serialisers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Annotation[]
getAnnotations()
Type
getGenericType()
javax.ws.rs.core.MediaType
getMediaType()
Object
getProperty(String name)
Collection<String>
getPropertyNames()
Class<?>
getType()
void
removeProperty(String name)
void
setAnnotations(Annotation[] annotations)
void
setGenericType(Type genericType)
void
setMediaType(javax.ws.rs.core.MediaType mediaType)
void
setProperty(String name, Object object)
void
setType(Class<?> type)
-
-
-
Field Detail
-
context
protected final ResteasyReactiveRequestContext context
-
annotations
protected Annotation[] annotations
-
type
protected Class<?> type
-
genericType
protected Type genericType
-
mediaType
protected javax.ws.rs.core.MediaType mediaType
-
serialisers
protected final ServerSerialisers serialisers
-
rediscoveryNeeded
protected boolean rediscoveryNeeded
-
-
Constructor Detail
-
AbstractInterceptorContext
public AbstractInterceptorContext(ResteasyReactiveRequestContext context, Annotation[] annotations, Class<?> type, Type genericType, javax.ws.rs.core.MediaType mediaType, ServerSerialisers serialisers)
-
-
Method Detail
-
getProperty
public Object getProperty(String name)
- Specified by:
getProperty
in interfacejavax.ws.rs.ext.InterceptorContext
-
getPropertyNames
public Collection<String> getPropertyNames()
- Specified by:
getPropertyNames
in interfacejavax.ws.rs.ext.InterceptorContext
-
setProperty
public void setProperty(String name, Object object)
- Specified by:
setProperty
in interfacejavax.ws.rs.ext.InterceptorContext
-
removeProperty
public void removeProperty(String name)
- Specified by:
removeProperty
in interfacejavax.ws.rs.ext.InterceptorContext
-
getAnnotations
public Annotation[] getAnnotations()
- Specified by:
getAnnotations
in interfacejavax.ws.rs.ext.InterceptorContext
-
setAnnotations
public void setAnnotations(Annotation[] annotations)
- Specified by:
setAnnotations
in interfacejavax.ws.rs.ext.InterceptorContext
-
getType
public Class<?> getType()
- Specified by:
getType
in interfacejavax.ws.rs.ext.InterceptorContext
-
setType
public void setType(Class<?> type)
- Specified by:
setType
in interfacejavax.ws.rs.ext.InterceptorContext
-
getGenericType
public Type getGenericType()
- Specified by:
getGenericType
in interfacejavax.ws.rs.ext.InterceptorContext
-
setGenericType
public void setGenericType(Type genericType)
- Specified by:
setGenericType
in interfacejavax.ws.rs.ext.InterceptorContext
-
getMediaType
public javax.ws.rs.core.MediaType getMediaType()
- Specified by:
getMediaType
in interfacejavax.ws.rs.ext.InterceptorContext
-
setMediaType
public void setMediaType(javax.ws.rs.core.MediaType mediaType)
- Specified by:
setMediaType
in interfacejavax.ws.rs.ext.InterceptorContext
-
-