Class MessageBodyParameterInjector

java.lang.Object
org.jboss.resteasy.core.MessageBodyParameterInjector
All Implemented Interfaces:
JaxrsInterceptorRegistryListener, ValueInjector

public class MessageBodyParameterInjector extends Object implements ValueInjector, JaxrsInterceptorRegistryListener
Version:
$Revision: 1 $
  • Field Details

    • bodyStack

      private static ThreadLocalStack<Object> bodyStack
    • type

      private Class type
    • genericType

      private Type genericType
    • annotations

      private Annotation[] annotations
    • factory

      private ResteasyProviderFactory factory
    • declaringClass

      private Class declaringClass
    • target

      private AccessibleObject target
    • interceptors

      private javax.ws.rs.ext.ReaderInterceptor[] interceptors
    • isMarshalledEntity

      private boolean isMarshalledEntity
  • Constructor Details

  • Method Details

    • pushBody

      public static void pushBody(Object o)
    • getBody

      public static Object getBody()
    • popBody

      public static Object popBody()
    • bodyCount

      public static int bodyCount()
    • clearBodies

      public static void clearBodies()
    • registryUpdated

      public void registryUpdated(JaxrsInterceptorRegistry registry)
      Specified by:
      registryUpdated in interface JaxrsInterceptorRegistryListener
    • isFormData

      public boolean isFormData(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
    • inject

      public Object inject(HttpRequest request, HttpResponse response)
      Description copied from interface: ValueInjector
      Inject inside the context of an HTTP request.
      Specified by:
      inject in interface ValueInjector
      Parameters:
      request -
      response -
      Returns:
    • inject

      public Object inject()
      Description copied from interface: ValueInjector
      Inject outside the context of an HTTP request. For instance, a singleton may have proxiable and injectable jax-rs objects like Request, UriInfo, or HttpHeaders.
      Specified by:
      inject in interface ValueInjector
      Returns: