Package dev.relism.flash.models
package dev.relism.flash.models
-
ClassDescriptionInternal completion signal used to enforce request-trailer ordering.Immutable empty header collection shared by requests without trailers.The read-side, protocol-neutral contract every header container implements.
HeaderViewbacked directly byRequestParser's byte buffer — lazy, zero-copy: strings are allocated only whenHttp1HeaderMap.first(java.lang.String)/Http1HeaderMap.all(java.lang.String)/Http1HeaderMap.view(java.lang.String)is called, the raw bytes are never copied at parse time.Reusable owned-byte header collection for sections parsed outside the request head buffer.Path parameters captured during routing, stored as byte offsets into the path view.A header name/value pair pre-encoded once (typically at boot, as astatic finalconstant) and reused across many responses viaResponse.header(PreEncodedHeader).Lazy query parameter access (?key=value&...).View of an incoming HTTP/1.1 request.Accessor for the HTTP request body.Base class for class-based route handlers.Typed accessors for request parameters.The parsed request line plus headers: method, path, optional query, optional protocol token, and the header container.HTTP response.The protocol-neutral enumeration of aResponse's header fields — one source of truth consumed by every protocol's writer, so field selection cannot drift between HTTP/1 and HTTP/2.One rendered header field: a byte range for the name, and a byte range for the value — both slices of caller-owned arrays, never copied.Blocking, flow-controlled response body used by push-style streaming producers.Adapts a flow-controlled response stream to APIs that write to anOutputStream.DelegatesSimpleHandler.handle(dev.relism.flash.models.Request, dev.relism.flash.models.Response)to aSimpleHandler.FunctionalHandlerso lambdas can be used without relying on Lombok-generated constructors (IDE-safe, annotation-processing independent).Functional interface for handling requests, used bySimpleHandler.