Package jakarta.ws.rs

Class CookieParam.Literal

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

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

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

    CookieParam.Literal
  • Field Summary

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

    Modifier and Type
    Method
    Description
    of(String value)
    Obtain the literal of a CookieParam 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 CookieParam INSTANCE
      Default CookieParam literal
  • Method Details

    • of

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

      public String value()