Package jakarta.ws.rs

Class HeaderParam.Literal

java.lang.Object
jakarta.enterprise.util.AnnotationLiteral<HeaderParam>
jakarta.ws.rs.HeaderParam.Literal
All Implemented Interfaces:
Annotation
Enclosing class:
HeaderParam

public static final class HeaderParam.Literal extends jakarta.enterprise.util.AnnotationLiteral<HeaderParam> implements HeaderParam
Supports inline instantiation of the HeaderParam annotation.
Since:
5.0
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class jakarta.ws.rs.HeaderParam

    HeaderParam.Literal
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final HeaderParam
    Default HeaderParam literal
  • Method Summary

    Modifier and Type
    Method
    Description
    of(String value)
    Obtain the literal of a HeaderParam annotation.
     

    Methods inherited from class jakarta.enterprise.util.AnnotationLiteral

    annotationType, equals, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • INSTANCE

      public static final HeaderParam INSTANCE
      Default HeaderParam literal
  • Method Details

    • of

      public static HeaderParam of(String value)
      Obtain the literal of a HeaderParam annotation.
      Parameters:
      value - the header value
      Returns:
      the new literal header param
    • value

      public String value()