| Interface | Description |
|---|---|
| ByContentSpec |
A specification of how to respond to a request, based on the requested content type (i.e.
|
| ByMethodSpec |
A specification of how to respond to a request, based on the requested method.
|
| Chain |
A chain is a write only builder for composing handlers.
|
| Context |
The context of an individual
Handler invocation. |
| Handler |
A handler participates in the processing of a request/response pair, operating on a
Context. |
| HandlerDecorator |
Decorates a handler, effectively wrapping it.
|
| Redirector |
Interprets objects as a
Location header value, and issues the redirect response. |
| RequestId |
An opaque identifier for the request.
|
| RequestId.Generator |
Generates, or assigns, an ID for requests.
|
| RequestLogger |
A handler that logs information about the request.
|
| RequestOutcome |
The outcome of processing a request.
|
| UserId |
An opaque identifier for the “user” that initiated the request.
|
| Class | Description |
|---|---|
| Handlers |
Factory methods for handler decorations.
|
| InjectionHandler |
A super class that removes the boiler plate of retrieving objects from the context registry by injecting them based on a method signature.
|
| ResponseTimer |
A
handler, that adds a "X-Response-Time" header to all requests indicating how long it took to start sending a response in milliseconds. |
| Exception | Description |
|---|---|
| InjectionHandler.NoSuitableHandleMethodException |
Exception thrown if the subclass doesn't provide a valid handle method.
|