Annotation Interface HttpClientMethod


@Target(METHOD) @Retention(RUNTIME) @Inherited public @interface HttpClientMethod
http client method
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    request path for method, default "method.getName()"
    int
    request timeout, milliseconds
  • Element Details

    • path

      String path
      request path for method, default "method.getName()"
      Default:
      ""
    • timeout

      int timeout
      request timeout, milliseconds
      Default:
      -1