Annotations

  • Cache HttpCacheConfig return
  • The annotation which is used to define the response cache configuration. This annotation only supports anydata and Success(2XX) StatusCodeResponses return types. Default annotation adds must-revalidate,public,max-age=3600 as cache-control header in addition to etag and last-modified headers.

  • CallerInfo HttpCallerInfo parameter
  • The annotation which is used to configure the type of the response.

    The annotation which is used to define the Header resource signature parameter.

  • Payload HttpPayload parameter, return
  • The annotation which is used to define the Payload resource signature parameter and return parameter.

  • ResourceConfig HttpResourceConfig object function
  • The annotation which is used to configure an HTTP resource.

  • ServiceConfig HttpServiceConfig service
  • The annotation which is used to configure an HTTP service.