Class MessageBodyParameterInjector

    • Field Detail

      • type

        private java.lang.Class type
      • genericType

        private java.lang.reflect.Type genericType
      • annotations

        private java.lang.annotation.Annotation[] annotations
      • declaringClass

        private java.lang.Class declaringClass
      • target

        private java.lang.reflect.AccessibleObject target
      • interceptors

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

        private boolean isMarshalledEntity
    • Constructor Detail

      • MessageBodyParameterInjector

        public MessageBodyParameterInjector​(java.lang.Class declaringClass,
                                            java.lang.reflect.AccessibleObject target,
                                            java.lang.Class type,
                                            java.lang.reflect.Type genericType,
                                            java.lang.annotation.Annotation[] annotations,
                                            ResteasyProviderFactory factory)
    • Method Detail

      • pushBody

        public static void pushBody​(java.lang.Object o)
      • getBody

        public static java.lang.Object getBody()
      • popBody

        public static java.lang.Object popBody()
      • bodyCount

        public static int bodyCount()
      • clearBodies

        public static void clearBodies()
      • isFormData

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

        public java.lang.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: