Class ParameterList


  • @Deprecated
    public class ParameterList
    extends java.lang.Object
    Deprecated.
    Will be removed in next minor release.
    Contains a list of parameters for JAX-RS constructors, (sub) resource methods and sub resource locators.
    • Field Detail

      • COLL_PARAM_NOT_DEFAULT

        private static final java.lang.String COLL_PARAM_NOT_DEFAULT
        Deprecated.
        See Also:
        Constant Field Values
      • DEFAULT_BOOLEAN

        private static final java.lang.Boolean DEFAULT_BOOLEAN
        Deprecated.
      • DEFAULT_BYTE

        private static final java.lang.Byte DEFAULT_BYTE
        Deprecated.
      • DEFAULT_CHAR

        private static final java.lang.Character DEFAULT_CHAR
        Deprecated.
      • DEFAULT_DOUBLE

        private static final java.lang.Double DEFAULT_DOUBLE
        Deprecated.
      • DEFAULT_FLOAT

        private static final java.lang.Float DEFAULT_FLOAT
        Deprecated.
      • DEFAULT_INT

        private static final java.lang.Integer DEFAULT_INT
        Deprecated.
      • DEFAULT_LONG

        private static final java.lang.Long DEFAULT_LONG
        Deprecated.
      • DEFAULT_SHORT

        private static final java.lang.Short DEFAULT_SHORT
        Deprecated.
      • localLogger

        private static final java.util.logging.Logger localLogger
        Deprecated.
      • VALID_ANNOTATIONS

        private static final java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> VALID_ANNOTATIONS
        Deprecated.
      • entityPosition

        private final int entityPosition
        Deprecated.
        must call the EntityGetter first, if @FormParam is used. A value less than zero means, that no special handling is needed.
      • paramCount

        private final int paramCount
        Deprecated.
        shortcut for parameters.length
    • Method Detail

      • collType

        private static java.lang.Class<java.util.Collection<?>> collType​(java.lang.reflect.ParameterizedType type)
        Deprecated.
        Returns:
        the collection type for the given parametrized Type.
        If the given type do not represent an collection, null is returned.
      • createValidAnnotations

        static java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> createValidAnnotations()
        Deprecated.
      • getAnno

        static <A extends java.lang.annotation.Annotation> A getAnno​(java.lang.annotation.Annotation[] annotations,
                                                                     java.lang.Class<A> annoType)
        Deprecated.
        Returns the given annotation, if it is available in the given array of annotations.
      • getLeaveEncoded

        static boolean getLeaveEncoded​(java.lang.annotation.Annotation[] annotations)
        Deprecated.
        Returns true, if one of the annotations is @Encoded
      • get

        public java.lang.Object[] get()
                               throws ConvertRepresentationException,
                                      java.lang.reflect.InvocationTargetException,
                                      javax.ws.rs.WebApplicationException
        Deprecated.
        Returns the concrete parameter array for the current request.
        Returns:
        the concrete parameter array for the current request.
        Throws:
        java.lang.reflect.InvocationTargetException
        ConvertRepresentationException
        javax.ws.rs.WebApplicationException