Package com.jsgalactic.axiom.http
package com.jsgalactic.axiom.http
-
ClassDescriptionImmutable request content and its declared content type.Collects bytes into a private array and turns it into a
Bodywithout copying it again.A source of request body bytes that a handler reads incrementally.A read from aBodyReaderthat could not complete because its request ended early.Why a read stopped.The destination of a streamed response body (seeResponse.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 aRange: bytes=...header field (RFC 9110 section 14.2), in the order the client sent them.An HTTP entity tag, the validator carried byETag,If-Match,If-None-MatchandIf-Range(RFC 9110 section 8.8.3).The destination of a server-sent event stream (seeResponse.sse(com.jsgalactic.axiom.http.EventStreamBody)).Produces a server-sent event stream (seeResponse.sse(com.jsgalactic.axiom.http.EventStreamBody)).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.Reports a request path thatRequestrefuses to represent.A multipart body the parser cannot accept: malformed framing or an exceeded explicit limit.Event-based parser formultipart/*request bodies read from aBodyReader.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.Immutable metadata for an in-memory HTTP request.A response value before wire encoding.One event of a server-sent event stream (seeResponse.sse(com.jsgalactic.axiom.http.EventStreamBody)).Opt-in static file serving as an ordinary handler, with no dependency beyond the JDK.Collects the immutable handler's configuration.Thrown by aBodyWriterwhen a streamed response can no longer be written.Why a stream was aborted.Produces a streamed response body (seeResponse.stream(int, java.lang.String, com.jsgalactic.axiom.http.StreamBody)).How a streamed response body ended, given to the observers registered withResponse.onStreamEnd(java.util.function.Consumer<com.jsgalactic.axiom.http.StreamOutcome>).How a stream ended.