Package jakarta.ws.rs

Class ApplicationPath.Literal

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

public static final class ApplicationPath.Literal extends jakarta.enterprise.util.AnnotationLiteral<ApplicationPath> implements ApplicationPath
Supports inline instantiation of the ApplicationPath annotation.
Since:
5.0
See Also:
  • Field Details

    • INSTANCE

      public static final ApplicationPath INSTANCE
      Default ApplicationPath literal
  • Method Details

    • of

      public static ApplicationPath of(String value)
      Obtain the literal of a ApplicationPath annotation.
      Parameters:
      value - the base path value
      Returns:
      the new literal ApplicationPath
    • value

      public String value()