HttpProperties

The HTTP edge: its routes and its error answers.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

The client address and User-Agent of each command, recorded as request facts.

Link copied to clipboard
Link copied to clipboard

The problem+json answers of what fails on the application's own routes.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The springdoc bridge (SpringdocAutoConfiguration): with springdoc on the classpath, the document of the public routes joins springdoc's default document (/v3/api-docs and Swagger UI) beside the application's own controllers, and the group lists the Wow routes alone.

Properties

Link copied to clipboard

The client address and User-Agent of each command, recorded as request facts.

Link copied to clipboard

The HTTP status of an error code, by code (bracketed in a property name: wow.http.errors.[a.b].status). A code under wow. that is not one of the framework's refuses the start, naming the nearest framework codes. A code of the application's that neither the service's Manifest nor a peer contract on the class path declares starts with a warning: it may still be right, a domain rejection's code that no @ErrorCode declares, a ProblemMapper's or a peer's whose contract is not on the class path.

Link copied to clipboard

The problem+json answers of what fails on the application's own routes.

Link copied to clipboard

The service's Manifest route.

Link copied to clipboard

The OpenAPI document of the routes.

Link copied to clipboard

The operator's routes of the node: its parked entries and its subscriptions.

Link copied to clipboard

The longest a request's body may stall on the public port and the internal port: the time between two reads of it, from the request's headers to the body's end, whether or not a route has answered by then. A request whose body stalls longer, sent slowly or not at all, is answered 408, unless it was answered already, and its connection closed (over HTTP/2, its stream). An upload that keeps sending is not cut, however long it takes, and neither is the answer: a stream or a wait runs as long as it does. It counts the time nothing of the body is read, whoever stops the reads: an application's own route that reads its body as a stream and asks for none of it for as long (subscribing late, pausing between pieces) is answered 408 too, though its client keeps sending. Wow's own routes read a body at once. Positive.

Link copied to clipboard

The request headers copied into a command's headers, beside the standard request facts: app_id, the application the caller resolver authenticated, which admission records for every command of a caller, and on the public port user_agent and remote_ip; none of the three can be listed (one listed, in any case, refuses the start: no request header sets it), and each fact is cut to 512 characters. remote_ip is the server's remote address, which the host takes from the gateway's X-Forwarded-For (server.request.header.forwarded.strategy is web-server unless the application sets it, none included).

Functions

Link copied to clipboard

readTimeout; one that is not positive refuses the start.

Link copied to clipboard

The status of each code of errors; an entry without one, or of a code under wow. the framework does not answer, refuses the start, naming its key.

Link copied to clipboard

The names of requestFacts. One of the standard request facts (RequestFacts.STANDARD), in any case, refuses the start: the edge records those itself, and copies no request header of their name.

Link copied to clipboard

The codes of errors outside wow. that are not among declared, the codes the Manifests declare.