HttpEndpointVerbBuildingContext

Interim building context exposed inside endpoint { } blocks before an HTTP verb is selected.

The DSL implementation only exposes HTTP verb helpers here so callers cannot mutate other metadata until they choose the method. Each helper returns a fully configured HttpEndpointBuildingContext that the rest of the builder can keep mutating.

Functions

Link copied to clipboard

Creates a DELETE endpoint that uses a single parameter placeholder (path or query).

Creates a DELETE endpoint for the provided uriWithParameters.

Creates a DELETE endpoint by supplying a literal path.

Link copied to clipboard

Creates a GET endpoint that uses a single parameter placeholder (path or query).

Creates a GET endpoint for the provided uriWithParameters.

Creates a GET endpoint by supplying a literal path.

Link copied to clipboard

Creates a HEAD endpoint that uses a single parameter placeholder (path or query).

Creates a HEAD endpoint for the provided uriWithParameters.

Creates a HEAD endpoint by supplying a literal path.

Link copied to clipboard

Configures the HTTP verb and URI for the endpoint being declared.

Link copied to clipboard

Creates an OPTIONS endpoint that uses a single parameter placeholder (path or query).

Creates an OPTIONS endpoint for the provided uriWithParameters.

Creates an OPTIONS endpoint by supplying a literal path.

Link copied to clipboard

Creates a PATCH endpoint that uses a single parameter placeholder (path or query).

Creates a PATCH endpoint for the provided uriWithParameters.

Creates a PATCH endpoint by supplying a literal path.

Link copied to clipboard

Creates a POST endpoint that uses a single parameter placeholder (path or query).

Creates a POST endpoint for the provided uriWithParameters.

Creates a POST endpoint by supplying a literal path.

Link copied to clipboard

Creates a PUT endpoint that uses a single parameter placeholder (path or query).

Creates a PUT endpoint for the provided uriWithParameters.

Creates a PUT endpoint by supplying a literal path.

Link copied to clipboard

Creates a TRACE endpoint that uses a single parameter placeholder (path or query).

Creates a TRACE endpoint for the provided uriWithParameters.

Creates a TRACE endpoint by supplying a literal path.