public class MessageBodyParameterInjector extends Object implements ValueInjector, InterceptorRegistryListener
Constructor and Description |
---|
MessageBodyParameterInjector(Class declaringClass,
AccessibleObject target,
Class type,
Type genericType,
Annotation[] annotations,
ResteasyProviderFactory factory) |
Modifier and Type | Method and Description |
---|---|
static int |
bodyCount() |
static void |
clearBodies() |
static Object |
getBody() |
Object |
inject()
Inject outside the context of an HTTP request.
|
Object |
inject(HttpRequest request,
HttpResponse response)
Inject inside the context of an HTTP request.
|
boolean |
isFormData(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
static Object |
popBody() |
static void |
pushBody(Object o) |
void |
registryUpdated(InterceptorRegistry registry) |
public MessageBodyParameterInjector(Class declaringClass, AccessibleObject target, Class type, Type genericType, Annotation[] annotations, ResteasyProviderFactory factory)
public static void pushBody(Object o)
public static Object getBody()
public static Object popBody()
public static int bodyCount()
public static void clearBodies()
public void registryUpdated(InterceptorRegistry registry)
registryUpdated
in interface InterceptorRegistryListener
public boolean isFormData(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
public Object inject(HttpRequest request, HttpResponse response)
ValueInjector
inject
in interface ValueInjector
public Object inject()
ValueInjector
inject
in interface ValueInjector
Copyright © 2018 JBoss by Red Hat. All rights reserved.