All Classes and Interfaces
Class
Description
Immutable execution limits.
Consistent admission counters for one listener, including all its routes.
Registers routes before startup and owns their execution lifecycle.
Application lifecycle; a closed application cannot be restarted.
Bootstrap contract implemented by the runtime and discovered through
ServiceLoader.Turns the credentials a request carries into a verified
SecurityIdentity.Creates applications using the runtime available on the application classpath.
Base type for failures that the framework maps to a client-visible error response.
An invalid response from an upstream server (502).
A request the server cannot process because it is malformed (400).
Immutable request content and its declared content type.
Collects bytes into a private array and turns it into a
Body without copying it again.Converts request and response bodies for a fixed set of media types.
A source of request body bytes that a handler reads incrementally.
A read from a
BodyReader that could not complete because its request ended early.Why a read stopped.
Checks a decoded request body for
Context.validatedBody(Class, BodyValidator).The destination of a streamed response body (see
Response.stream(int, java.lang.String, com.jsgalactic.axiom.http.StreamBody)).One inclusive byte range of a representation, with offsets measured from zero (RFC 9110 section
14.1.2).
The satisfiable ranges of a
Range: bytes=... header field (RFC 9110 section 14.2), in the
order the client sent them.Where a request came from, as decided by
TrustedProxies: the client's IP address, the
scheme it used and, when a trusted proxy reported them, the host and port it addressed.A request that conflicts with the current resource state (409).
What a built-in
Rule checks, as plain data for tools that document or mirror a rule set,
such as an OpenAPI generator.Kinds of built-in checks.
Request-scoped view and response settings for one handler invocation.
The cookies of a request, parsed strictly from the
Cookie header (RFC 6265bis section
4.2).Cross-origin resource sharing (the Fetch standard's CORS protocol) as global middleware, with a
strict allow-list of origins.
Configures
Cors.Cross-site request forgery protection for browser clients that authenticate with cookies.
Builds
Csrf; used during configuration, not thread-safe.A request body that is missing, malformed or does not match the requested type (400).
Request-scoped accessor for the EntityManager bound by
Jpa.transaction().An HTTP entity tag, the validator carried by
ETag, If-Match,
If-None-Match and If-Range (RFC 9110 section 8.8.3).Maps an exception thrown by a handler or middleware to a response.
The destination of a server-sent event stream (see
Response.sse(com.jsgalactic.axiom.http.EventStreamBody)).Produces a server-sent event stream (see
Response.sse(com.jsgalactic.axiom.http.EventStreamBody)).Immutable application-wide execution budget.
Immutable request identity and monotonic deadline; safe to share with application tasks.
Immutable builder for violation field paths such as
items[2].name.An authenticated caller lacks permission (403).
The family of proxy headers
TrustedProxies believes.An upstream server that did not answer in time (504).
A resource that existed but was permanently removed (410).
A GraphQL HTTP adapter: an Axiom
Handler around a graphql-java runtime.Builds a
GraphQl; not thread-safe, build once at startup.Bounds and switches of a
GraphQl handler, supplied as plain data.Runs generated gRPC services beside an Axiom application.
Collects services and settings before
Grpc.Builder.build().The deadline and cancellation of the gRPC call on the current thread.
An ordinary Java callback, invoked once per matched request.
Replaces the values of credential-bearing headers before headers are logged.
Liveness and readiness for orchestrators and load balancers.
Collects checks before
Health.Builder.build().The outcome of one probe.
Outcome of a check or probe.
One dependency or condition a probe reports on, such as a database connection or a warm cache.
Opt-in HTTP conditional and range request support (RFC 9110 sections 13 and 14), built on the
immutable response values Axiom already produces.
Status codes used by Axiom applications and runtimes, with their RFC 9110 reason phrases.
Service-provider boundary for HTTP transports.
A
SessionStore in process memory with idle and absolute timeouts and a hard bound on the
number of sessions.Builds
InMemorySessionStores; used during configuration, not thread-safe.An unexpected server failure reported deliberately (500).
Reports a request path that
Request refuses to represent.A
Validator backed by Jakarta Validation annotations, using Hibernate Validator.Bounds the database concurrency of an Axiom application around a source the application owns and
configures.
Collects bounds and hooks before
Jdbc.Builder.build().A
DataSource that delegates every call to an application-owned source and records
connection checkouts through the Axiom Metrics SPI.Immutable bounds of a
Jdbc gate.Per-request JPA EntityManager and transaction boundaries for Axiom applications.
Configures a
Jpa; instances are not thread-safe and are used during configuration.Opt-in JTA transaction boundaries around Axiom handlers.
Configures an immutable
Jta; not thread-safe, build once at startup.The service-loaded implementation of
JtaTransactionLookup.Reports whether a request already carries an active JTA transaction.
A read-only view of the JTA transaction bound to a request, with only JDK types in its
signatures.
Bounds and timings for a JSON Web Key Set used by
JwtAuthenticator, set with JwtAuthenticator.Builder.jwks(JwksSource, JwksOptions).Where
JwtAuthenticator gets an issuer's JSON Web Key Set (RFC 7517) from.The JWS signature algorithms
JwtAuthenticator can verify, all implemented by the JDK.Authenticates
Authorization: Bearer requests carrying a signed JWT (RFC 7519, JWS compact
serialization), using only the JDK.Configures a
JwtAuthenticator.The claims of a token whose signature, expiry, issuer, audience and subject have been verified,
read through typed accessors so that no JSON library type is exposed.
An endpoint's refusal of a request that does not declare its length (411).
Transport limits and timeouts of one HTTP listener, passed to
Application.listen(java.net.InetSocketAddress, ListenerOptions).Collects settings before
ListenerOptions.Builder.build().Opt-in settings for a separate management listener, passed to
Application.management(ManagementOptions).Collects settings before
ManagementOptions.Builder.build().A method the target resource does not support (405).
Receives the counters, gauges and timers the runtime records.
A monotonically increasing count.
A value that moves both ways.
A recorder of durations.
An in-memory
Metrics implementation with a bounded number of series.Settings of a
MetricsRegistry.A timer's totals.
Maps the dependency-free
Metrics SPI to an application-owned Micrometer MeterRegistry.Code that runs around handlers: logging, timing, authentication, response headers.
The rest of a middleware chain for one request.
A multipart body the parser cannot accept: malformed framing or an exceeded explicit limit.
Event-based parser for
multipart/* request bodies read from a BodyReader.Bounds applied while a multipart body is read.
Receives parts as they are completed by the parser.
One complete part: its headers, disposition parameters and bounded content.
No acceptable representation for the request's Accept header (406).
A resource that does not exist (404).
Functionality the server does not support (501).
Generates an OpenAPI 3.1 document, or the equivalent Swagger 2.0 document, from an application's
routes and their
RouteDoc descriptions.Configures an
OpenApi.Maps the dependency-free
Metrics SPI to OpenTelemetry API instruments.A request body larger than the application's configured limit (413).
A conditional request whose precondition evaluated to false (412).
A request that must be conditional, for example carry If-Match (428).
Renders a
MetricsRegistry in the Prometheus text exposition format, version 0.0.4.Rate limiting middleware: at most a number of requests per window for each key, with memory that
stays bounded however many distinct keys arrive.
The counting algorithm.
Builds
RateLimits; not thread-safe, used during configuration.The outcome of counting one request.
Chooses the key a request is counted under by
RateLimit: one budget per distinct key.Observes the error responses an HTTP listener generates itself, for metrics and logging.
Immutable metadata for an in-memory HTTP request.
A request whose header section is too large (431).
A request that was not received in time (408).
A response value before wire encoding.
Stable route identity, independent of request values or handler instances.
Optional, immutable documentation of one route: what it is for, which parameters, request body
and responses it has, and which security requirements apply.
A documented request body.
Where a parameter is read from.
A documented parameter.
A documented response.
Registers routes and middleware for a scope: the whole application, or a group of routes under a
path prefix created with
RouteGroup.group(String, Consumer).An immutable check of one value with a fixed violation code.
An immutable, annotation-free validator built from field rules.
Authentication and authorization policies as
Middleware, bound to one Authenticator.Middleware that adds secure default response headers for an HTTP API.
The authenticated caller of one request: a principal name with the roles and permissions it was
granted.
A security scheme that routes can require by name (see
RouteDoc.security(String...)).An application-owned listener.
One event of a server-sent event stream (see
Response.sse(com.jsgalactic.axiom.http.EventStreamBody)).A server that is temporarily unable to handle the request (503).
One request's view of its session, from
Sessions.session(com.jsgalactic.axiom.context.Context).An
Authenticator that reads the identity from the request's session, so the policies of
Security work for cookie-authenticated browsers exactly as for bearer tokens.Server-side sessions as middleware: a cookie carries a random secret identifier, a
SessionStore holds everything else.Builds
Sessions; used during configuration, not thread-safe.The data a
SessionStore keeps for one session: who is signed in, application attributes
and two timestamps.Where
Sessions keep session data, keyed by the secret session identifier.A
Set-Cookie header with secure defaults, validated when it is created.The
SameSite attribute.Opt-in static file serving as an ordinary handler, with no dependency beyond the JDK.
Collects the immutable handler's configuration.
Thrown by a
BodyWriter when a streamed response can no longer be written.Why a stream was aborted.
Produces a streamed response body (see
Response.stream(int, java.lang.String, com.jsgalactic.axiom.http.StreamBody)).How
TestClient.stream(com.jsgalactic.axiom.http.Request) models the buffering between a handler's writes and the client's
reads.A response whose body is read piece by piece, returned by
TestClient.stream(com.jsgalactic.axiom.http.Request).Marks a handler that reads its request body incrementally through
Context.bodyReader().How a streamed response body ended, given to the observers registered with
Response.onStreamEnd(java.util.function.Consumer<com.jsgalactic.axiom.http.StreamOutcome>).How a stream ended.
Immutable bound on the streams that may run at the same time.
Serves Swagger UI from the application itself, pointing at the application's own OpenAPI or
Swagger document.
Configures a
SwaggerUi.In-memory client that owns the supplied application's lifecycle.
Thrown when TLS material cannot be used: a file is missing or unreadable, a PEM block is
malformed, the key does not belong to the certificate, a certificate is expired or not yet valid,
or the configured protocols and cipher suites leave nothing the JVM supports.
TLS settings of one HTTP listener, passed with
ListenerOptions.Builder.tls(TlsOptions).Collects settings before
TlsOptions.Builder.build().Whether the listener asks clients for a certificate.
The protocols a listener can be limited to, oldest first.
An application check that runs after a token's signature, time claims, issuer, audience and
subject have been verified, to reject a token that is cryptographically valid but must not be
accepted: revoked, replayed (same
jti), issued to a suspended account, and so on.A caller that sent too many requests in a given time (429).
A W3C Trace Context identity, the
traceparent of a request: which distributed trace it
belongs to and which caller span started it.The W3C Trace Context
tracestate of a request: an ordered list of vendor-specific
key=value members that travels with a TraceContext.One
key=value pair of a trace state.Creates one OpenTelemetry
SERVER span per admitted request without adding
a dependency or an SPI to axiom-core.The transaction view handed to handlers inside a
Jta.transaction() boundary.A transaction-boundary operation that failed, used to choose a client-visible problem status.
The completion outcome of the innermost transaction scope of a request.
A transaction status expressed without a JTA type, so integrations can read it without depending
on the transaction API.
The network I/O mechanism an HTTP listener uses, chosen with
ListenerOptions.Builder.transport(TransportKind).Decides a request's client address and scheme, believing
X-Forwarded-For and
X-Forwarded-Proto only when they were set by configured, trusted proxies.A request without valid credentials (401).
Well-formed content that cannot be processed (422).
A request body whose content type or charset no installed codec accepts (415).
A request target longer than the server accepts (414).
Entry point for checking values in handlers.
A syntactically valid request whose content breaks application rules (422).
Checks a value and reports field violations.
One field-level problem reported to a client.
Application callbacks for one WebSocket route.
An immutable text or binary WebSocket message delivered to or from a
WebSocketSession.One established WebSocket connection.