Annotation Interface ServiceOption


@Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface ServiceOption
An annotation used to configure ServiceOptions of an HttpService.
  • Element Details

    • requestTimeoutMillis

      long requestTimeoutMillis
      Server-side timeout of a request in milliseconds.
      Default:
      -1L
    • maxRequestLength

      long maxRequestLength
      Server-side maximum length of a request.
      Default:
      -1L
    • requestAutoAbortDelayMillis

      long requestAutoAbortDelayMillis
      The amount of time to wait before aborting an HttpRequest when its corresponding HttpResponse is complete.
      Default:
      -1L