Package jakarta.ws.rs

Class FormParam.Literal

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

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

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

    FormParam.Literal
  • Field Summary

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

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

    • of

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

      public String value()