Annotation Type Connect


  • @Repeatable(ConnectSpecs.class)
    @Retention(RUNTIME)
    public @interface Connect
    Annotation to configure a route to handle CONNECT requests. Set the value to configure for a specific (possibly wild-card) path, or leave empty to handle all CONNECT requests.
    Author:
    odeda
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String value
      Path on which to accept the CONNECT request.
    • Element Detail

      • value

        String value
        Path on which to accept the CONNECT request.
        Returns:
        path
        Default:
        "/*"