Annotation Type HttpOptions


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface HttpOptions
    Annotation for mapping HTTP OPTIONS requests onto specific handler methods.

    Specifically, @HttpOptions is a composed annotation that acts as a shortcut for @HttpRoute(method = HttpMethodWrapper.OPTIONS).

    Since:
    1.1
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String[] value
      Returns the path pattern of this route.
    • Element Detail

      • value

        java.lang.String[] value
        Returns the path pattern of this route.
        Returns:
        the path pattern of this route.
        Default:
        {}