Index

A B C D E F G H I J K L M N O P Q R S T U V W X Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

abort() - Method in class dev.relism.flash.http2.message.Http2ResponseWriter
Closes any in-flight streaming response body still open when the stream is abandoned before finishing (RST_STREAM from the peer, connection teardown) — see Http2Stream.cancel(), the abort-path caller.
AbstractRouter - Class in dev.relism.flash.routing
Base router contract.
AbstractRouter() - Constructor for class dev.relism.flash.routing.AbstractRouter
 
AbstractRouter.ExceptionHandler - Interface in dev.relism.flash.routing
 
AbstractWsRouter - Class in dev.relism.flash.routing
 
AbstractWsRouter() - Constructor for class dev.relism.flash.routing.AbstractWsRouter
 
accept(byte[], int, int, byte[], int, int) - Method in class dev.relism.flash.http2.message.Http2ResponseWriter
 
accept(byte[], int, int, byte[], int, int) - Method in interface dev.relism.flash.models.ResponseSerializer.FieldConsumer
 
accept(Http2Stream) - Method in interface dev.relism.flash.http2.stream.Http2StreamTable.StreamConsumer
 
accept(ByteView, ByteView) - Method in interface dev.relism.flash.models.HeaderView.HeaderConsumer
 
accept(ByteView, ByteView, boolean) - Method in interface dev.relism.flash.http2.hpack.HeaderSink
Accepts one field.
accept(ByteView, ByteView, boolean) - Method in class dev.relism.flash.http2.hpack.HpackHeaderBlock
 
accept(Socket, BooleanSupplier) - Method in class dev.relism.flash.transport.ConnectionRunner
Submits socket to the virtual-thread executor for full connection handling.
ACCEPTED - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
AcceptLoop - Class in dev.relism.flash.transport
Single accept-loop body — runs on each of a listener's accept threads.
ACK - Static variable in class dev.relism.flash.http2.frame.FrameFlags
SETTINGS/PING: this frame acknowledges the peer's own frame, rather than proposing new values.
acquire() - Method in class dev.relism.flash.transport.ScratchPool
Returns a reset, ready-to-use scratch — either reused from the pool or freshly allocated.
acquire(byte[], int, int) - Method in class dev.relism.flash.bytes.SlicePool
Returns the next slice in the ring, repositioned over array[offset, offset + length).
acquire(int) - Method in class dev.relism.flash.http2.stream.Http2StreamTable
 
add(byte[], int, int, byte[], int, int) - Method in class dev.relism.flash.models.MutableHeaderMap
 
add(ByteView, ByteView) - Method in class dev.relism.flash.http2.hpack.HpackDynamicTable
Inserts a new entry, copying its bytes before performing FIFO eviction.
addAnnotationProcessor(AnnotationProcessor) - Method in class dev.relism.flash.extension.FlashContext
 
addMiddleware(MiddlewareNode) - Method in class dev.relism.flash.extension.FlashApp
 
addMiddleware(MiddlewareNode) - Method in class dev.relism.flash.extension.FlashRegistrar
Registers a middleware in this registrar's own scope (global or scope-level).
addMiddleware(MiddlewareNode) - Method in class dev.relism.flash.extension.FlashScope
 
addParsed(int, int, int, int) - Method in class dev.relism.flash.models.Http1HeaderMap
Adds one already-validated header to the current zero-copy index.
addRoute(HttpMethod, String, RequestHandler) - Method in class dev.relism.flash.routing.AbstractRouter
 
addRoute(HttpMethod, String, RequestHandler) - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathRouterImpl
 
addRoute(HttpMethod, String, RequestHandler, List<MiddlewareNode>) - Method in class dev.relism.flash.extension.FlashApp
 
addRoute(HttpMethod, String, RequestHandler, List<MiddlewareNode>) - Method in class dev.relism.flash.extension.FlashRegistrar
Adds a route immediately to this registrar's deferred compilation list.
addRoute(HttpMethod, String, RequestHandler, List<MiddlewareNode>) - Method in class dev.relism.flash.extension.FlashScope
 
addRoute(HttpMethod, String, WebSocketHandler) - Method in class dev.relism.flash.routing.AbstractWsRouter
 
addRoute(HttpMethod, String, WebSocketHandler) - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathWsRouterImpl
 
addRouteListener(RouteListener) - Method in class dev.relism.flash.extension.FlashContext
 
addWsRoute(String, WebSocketEndpoint) - Method in class dev.relism.flash.extension.FlashApp
 
addWsRoute(String, WebSocketEndpoint) - Method in class dev.relism.flash.extension.FlashRegistrar
 
addWsRoute(String, WebSocketEndpoint) - Method in class dev.relism.flash.extension.FlashScope
 
adjustAllSendWindows(int) - Method in class dev.relism.flash.http2.stream.Http2StreamTable
 
adjustSendWindow(int) - Method in class dev.relism.flash.http2.stream.Http2Stream
 
after(MiddlewareKey) - Method in class dev.relism.flash.routing.MiddlewareNode
 
afterIfPresent(MiddlewareKey) - Method in class dev.relism.flash.routing.MiddlewareNode
 
all() - Method in class dev.relism.flash.http2.message.Http2HeaderMap
 
all() - Method in enum class dev.relism.flash.models.EmptyHeaderView
 
all() - Method in interface dev.relism.flash.models.HeaderView
Returns all header values in declaration order.
all() - Method in class dev.relism.flash.models.Http1HeaderMap
 
all() - Method in class dev.relism.flash.models.MutableHeaderMap
 
all(String) - Method in class dev.relism.flash.http2.message.Http2HeaderMap
 
all(String) - Method in enum class dev.relism.flash.models.EmptyHeaderView
 
all(String) - Method in interface dev.relism.flash.models.HeaderView
Returns all values of header name in declaration order, or an empty list.
all(String) - Method in class dev.relism.flash.models.Http1HeaderMap
 
all(String) - Method in class dev.relism.flash.models.MutableHeaderMap
 
ALPN (e.g. TLS-ALPN-01 / RFC 8737) - Search tag in class dev.relism.flash.tls.TlsConfig
Section
AnnotationProcessor - Interface in dev.relism.flash.extension
Inspects a handler class at registration time and returns zero or more middleware nodes to inject automatically.
any(String, SimpleHandler.FunctionalHandler, Middleware...) - Method in class dev.relism.flash.extension.FlashRegistrar
Registers h under every HttpMethod: for handlers indifferent to verb (e.g. a proxy).
applicationProtocols(String...) - Method in class dev.relism.flash.tls.TlsConfig
ALPN protocols this listener negotiates, in preference order (e.g.
apply(byte[], int, int, Http2Settings.StreamWindowUpdater) - Method in class dev.relism.flash.http2.Http2Settings
Validates and applies one SETTINGS payload.
apply(FlashApplication) - Method in class dev.relism.flash.extension.FlashApp
Applies a FlashApplication to this app.
applyInitialWindowDelta(int) - Method in interface dev.relism.flash.http2.Http2Settings.StreamWindowUpdater
 
applyInitialWindowDelta(Http2StreamTable, int) - Method in class dev.relism.flash.http2.stream.Http2FlowController
 
applyTo(SSLServerSocket) - Method in class dev.relism.flash.tls.TlsConfig
 
array() - Method in interface dev.relism.flash.bytes.ArrayBackedByteView
The backing array.
array() - Method in class dev.relism.flash.bytes.ByteWriter
The backing buffer.
array() - Method in class dev.relism.flash.bytes.PooledSlice
 
array() - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.RequestByteView
 
array() - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.SocketByteView
 
array() - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.StringByteView
 
ArrayBackedByteView - Interface in dev.relism.flash.bytes
Capability interface for a ByteView that is a contiguous slice of a single backing byte[] — as opposed to a SegmentedByteView, which spans several arrays and cannot expose a single (array, offset) pair.
assembleRequest(InetSocketAddress, SSLSocket) - Method in class dev.relism.flash.http2.stream.Http2Stream
 
AUDIO_MPEG - Enum constant in enum class dev.relism.flash.http.ContentType
 
AUDIO_OGG - Enum constant in enum class dev.relism.flash.http.ContentType
 
authority() - Method in class dev.relism.flash.http2.message.PseudoHeaders
 
available() - Method in class dev.relism.flash.transport.BufferedByteSource
 
availableCount() - Method in class dev.relism.flash.http2.message.DataBufferPool
 

B

BAD_GATEWAY - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
BAD_REQUEST - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
badRequest(String) - Static method in exception class dev.relism.flash.exceptions.HttpException
 
before(MiddlewareKey) - Method in class dev.relism.flash.routing.MiddlewareNode
 
beforeIfPresent(MiddlewareKey) - Method in class dev.relism.flash.routing.MiddlewareNode
 
begin(int, byte[], int, int, boolean) - Method in class dev.relism.flash.http2.hpack.ContinuationAssembler
 
begin(long, boolean, Http2RequestBody.ConsumptionListener) - Method in class dev.relism.flash.http2.message.Http2RequestBody
 
beginFrame(FrameType, int, int) - Method in class dev.relism.flash.http2.frame.FrameWriteBuffer
Writes a 9-byte frame header with a placeholder length, to be filled in by FrameWriteBuffer.endFrame().
beginParsed(byte[], int, int) - Method in class dev.relism.flash.models.Http1HeaderMap
Starts an index populated by the request parser while it validates the same header lines.
beginResponseBatch() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
BINARY - Enum constant in enum class dev.relism.flash.http.ContentType
 
bind(FlashConfiguration.Listener) - Static method in class dev.relism.flash.transport.ListenerBinder
 
bind(FlashContext) - Method in class dev.relism.flash.models.RequestHandler
Called once by the framework after instantiation, before the first request.
bind(FlashContext) - Method in class dev.relism.flash.websocket.WebSocketEndpoint
Called once by framework at boot.
body() - Method in class dev.relism.flash.models.Request
Returns the request body accessor.
body(byte[]) - Method in class dev.relism.flash.models.Response
 
body(String) - Method in class dev.relism.flash.models.Response
 
BodyCompletion - Interface in dev.relism.flash.models
Internal completion signal used to enforce request-trailer ordering.
BoundListener - Record Class in dev.relism.flash.transport
One bound listener socket (plain or TLS) plus whether it is TLS, for logging only.
BoundListener(ServerSocket, boolean) - Constructor for record class dev.relism.flash.transport.BoundListener
Creates an instance of a BoundListener record class.
buffer() - Method in class dev.relism.flash.http2.frame.FrameHeader
The backing buffer — see the class Javadoc's lifetime contract before retaining a reference.
buffer() - Method in interface dev.relism.flash.http2.frame.WriteIntent
The buffer holding this intent's already-serialized bytes.
buffer() - Method in class dev.relism.flash.http2.hpack.ContinuationAssembler
 
buffer() - Method in class dev.relism.flash.http2.message.Http2ResponseWriter
 
Buffer discipline - Search tag in class dev.relism.flash.http2.frame.Http2FrameReader
Section
BufferedByteSource - Class in dev.relism.flash.transport
The single buffered view over one connection's inbound bytes, for the whole lifetime of the gives ProtocolNegotiator a way to inspect the first bytes of a plaintext connection (the h2c preface) without consuming them.
BufferedByteSource(InputStream, Socket) - Constructor for class dev.relism.flash.transport.BufferedByteSource
 
BufferedByteSource(InputStream, Socket, int) - Constructor for class dev.relism.flash.transport.BufferedByteSource
 
byteAt(int) - Method in class dev.relism.flash.bytes.PooledSlice
 
byteAt(int) - Method in class dev.relism.flash.bytes.SegmentedByteView
 
byteAt(int) - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.MethodPathByteView
 
byteAt(int) - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.RequestByteView
 
byteAt(int) - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.SocketByteView
 
byteAt(int) - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.StringByteView
 
bytes() - Static method in class dev.relism.flash.http.DateHeader
The current pre-encoded "Date: ...\r\n" field line, accurate to within one second.
bytes() - Method in enum class dev.relism.flash.http.HttpStatus
Pre-encoded "200 OK" bytes — zero allocation on the write path.
bytes() - Method in enum class dev.relism.flash.http2.Http2ErrorCode
The pre-encoded 4-byte big-endian wire form.
bytes() - Method in class dev.relism.flash.models.RequestBody
Materialises and caches the full body.
ByteScan - Class in dev.relism.flash.bytes
The single home for protocol-neutral byte scanning: single-byte search, the four-byte \r\n\r\n header-terminator search (SWAR-accelerated), case-insensitive comparison, comma-separated token-list scanning (Connection: a, b, c), RFC 9110 tchar validation, and the case-insensitive header-name hash Http1HeaderMap's
bytesForCode(int) - Static method in enum class dev.relism.flash.http.HttpStatus
Returns pre-compiled status bytes for the given code.
ByteTemplate - Class in dev.relism.flash.template
Precompiled, allocation-minimal byte template.
ByteTemplate(String) - Constructor for class dev.relism.flash.template.ByteTemplate
 
ByteWriter - Class in dev.relism.flash.bytes
Index-based writer into a growable byte[] scratch buffer.
ByteWriter(int) - Constructor for class dev.relism.flash.bytes.ByteWriter
 

C

cancel() - Method in class dev.relism.flash.http2.message.Http2RequestBody
 
cancel() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
CANCEL - Enum constant in enum class dev.relism.flash.http2.Http2ErrorCode
Used by clients to cancel a stream; Flash never sends it, only receives it.
cancelled() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
capacity() - Method in class dev.relism.flash.http2.message.DataBufferPool
 
capacity() - Method in class dev.relism.flash.http2.stream.Http2StreamTable
 
CBOR - Enum constant in enum class dev.relism.flash.http.ContentType
 
child() - Method in class dev.relism.flash.extension.FlashContext
 
chunked(InputStream) - Method in class dev.relism.flash.models.Response
Streaming response with unknown length; written with Transfer-Encoding: chunked.
clear() - Method in class dev.relism.flash.http2.hpack.HpackDynamicTable
 
clear() - Method in class dev.relism.flash.http2.stream.Http2StreamTable
 
clearDeadline() - Method in class dev.relism.flash.transport.BufferedByteSource
Removes the deadline and restores the socket to blocking indefinitely (SO_TIMEOUT = 0).
clientAuth(ClientAuth) - Method in class dev.relism.flash.tls.TlsConfig
Client-certificate requirement.
ClientAuth - Enum Class in dev.relism.flash.tls
Client-certificate requirement for a TLS listener, applied via TlsConfig.clientAuth(ClientAuth).
clientPreface() - Static method in class dev.relism.flash.http2.Http2Preface
Immutable client connection preface bytes.
close() - Method in class dev.relism.flash.http2.frame.Http2FrameWriter
Deregisters this writer from the write-timeout reaper.
close() - Method in interface dev.relism.flash.models.ResponseStream
 
close() - Method in class dev.relism.flash.models.ResponseStreamOutputStream
 
close() - Method in class dev.relism.flash.transport.BufferedByteSource
 
close(int) - Method in class dev.relism.flash.websocket.WebSocketSession
Sends a CLOSE frame exactly once, masked exactly like any other outgoing frame when this session is in client mode (WebSocketSession.maskOutgoing) — via WebSocketSession.writeFrame(byte, byte[], int, int), the same path WebSocketSession.sendText(byte[], int, int)/WebSocketSession.send(byte[], int, int)/WebSocketSession.sendPong(dev.relism.flash.websocket.WebSocketFrame) use, rather than hand-writing the 4 bytes unmasked regardless of role.
closeCode() - Method in exception class dev.relism.flash.websocket.WebSocketProtocolException
 
closeCode() - Method in class dev.relism.flash.websocket.WebSocketSession
 
CLOSED - Enum constant in enum class dev.relism.flash.http2.stream.Http2StreamState
 
CLOSED_BY_RESET - Static variable in class dev.relism.flash.http2.stream.Http2StreamTable
 
CLOSED_NORMALLY - Static variable in class dev.relism.flash.http2.stream.Http2StreamTable
 
CLOSED_UNKNOWN - Static variable in class dev.relism.flash.http2.stream.Http2StreamTable
 
closedKind(int) - Method in class dev.relism.flash.http2.stream.Http2StreamTable
 
closeFromPeer(WebSocketFrame) - Method in class dev.relism.flash.websocket.WebSocketSession
 
code() - Method in enum class dev.relism.flash.http.HttpStatus
Numeric status code (e.g.
code() - Method in enum class dev.relism.flash.http2.frame.FrameType
 
code() - Method in enum class dev.relism.flash.http2.Http2ErrorCode
The numeric error code as it appears on the wire.
commons - Static variable in class dev.relism.flash.Flash
 
Commons() - Constructor for class dev.relism.flash.Flash.Commons
 
compile() - Method in class dev.relism.flash.routing.AbstractRouter
Eagerly validates and compiles this route graph before traffic is accepted.
compile() - Method in class dev.relism.flash.routing.AbstractWsRouter
Eagerly validates and compiles this WebSocket route graph before traffic is accepted.
compile() - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathRouterImpl
 
compile() - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathWsRouterImpl
 
complete() - Method in class dev.relism.flash.extension.FlashContext
Completes graph resolution and runs all deferred materialisation callbacks once.
completed() - Method in interface dev.relism.flash.http2.frame.WriteIntent
Called exactly once after this intent leaves the writer, whether the socket write succeeded or failed.
completed() - Method in class dev.relism.flash.http2.message.Http2ResponseWriter
 
completion(Http2ResponseWriter.Completion) - Method in class dev.relism.flash.http2.message.Http2ResponseWriter
 
compose(RequestHandler, Middleware[]) - Static method in class dev.relism.flash.routing.MiddlewareGraph
Pre-composes a sorted chain once at boot.
COMPRESSION_ERROR - Enum constant in enum class dev.relism.flash.http2.Http2ErrorCode
An HPACK decoding failure.
COMPRESSION_ERROR - Static variable in exception class dev.relism.flash.http2.Http2Exception
 
configuration() - Method in record class dev.relism.flash.transport.ConnectionContext
Returns the value of the configuration record component.
configure(FlashApp) - Method in interface dev.relism.flash.extension.FlashApplication
Registers this application onto app.
configure(FlashRegistrar<?>, FlashContext) - Method in interface dev.relism.flash.extension.FlashExtension
Declares this extension's contribution.
conflict(String) - Static method in exception class dev.relism.flash.exceptions.HttpException
 
CONFLICT - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
connect(String, SimpleHandler.FunctionalHandler, Middleware...) - Method in class dev.relism.flash.extension.FlashRegistrar
 
CONNECT - Enum constant in enum class dev.relism.flash.http.HttpMethod
 
CONNECT - Annotation Interface in dev.relism.flash.routing
Shorthand for @Route(method = HttpMethod.CONNECT, path = "…").
CONNECT_ERROR - Enum constant in enum class dev.relism.flash.http2.Http2ErrorCode
A CONNECT-tunnelled stream failed.
CONNECTION_WINDOW_SIZE_LOCAL - Static variable in class dev.relism.flash.http2.Http2Limits
The connection-level flow-control window Flash advertises.
connectionContainsToken(Request, String) - Static method in class dev.relism.flash.http1.Http1KeepAlive
Whether the request's Connection header lists token (case-insensitive).
ConnectionContext - Record Class in dev.relism.flash.transport
Everything a ConnectionProtocol implementation needs to serve one connection, bundled into a single object instead of a long parameter list.
ConnectionContext(Socket, SSLSocket, BufferedByteSource, OutputStream, OutputStream, InetSocketAddress, ConnectionScratch, AbstractRouter, AbstractWsRouter, FlashConfiguration, ExecutorService, BooleanSupplier) - Constructor for record class dev.relism.flash.transport.ConnectionContext
Creates an instance of a ConnectionContext record class.
ConnectionProtocol - Interface in dev.relism.flash.transport
ALPN/preface detection (ConnectionRunner), and dispatches to one implementation of this interface.
connectionReceiveWindow() - Method in class dev.relism.flash.http2.stream.Http2FlowController
 
ConnectionRunner - Class in dev.relism.flash.transport
Owns one connection's socket lifecycle from accept to close: configures socket options, dispatches to the matching ConnectionProtocol — guaranteeing cleanup (scratch release, active-socket tracking) regardless of how the protocol implementation exits.
ConnectionRunner(ExecutorService, Set<Socket>, ScratchPool, AbstractRouter, AbstractWsRouter, FlashConfiguration, ConnectionProtocol, Supplier<? extends ConnectionProtocol>) - Constructor for class dev.relism.flash.transport.ConnectionRunner
 
ConnectionScratch - Class in dev.relism.flash.transport
ThreadLocal on HttpServer: the decimal-formatting scratch, the streaming relay buffer, and the WebSocket-handshake MessageDigest.
connectionSendWindow() - Method in class dev.relism.flash.http2.Http2Connection
 
connectionSendWindow() - Method in class dev.relism.flash.http2.stream.Http2FlowController
 
connectWith(String, SimpleHandler.FunctionalHandler, MiddlewareNode...) - Method in class dev.relism.flash.extension.FlashRegistrar
 
consumed(int) - Method in interface dev.relism.flash.http2.message.Http2RequestBody.ConsumptionListener
 
consumed(int) - Method in class dev.relism.flash.http2.stream.Http2Stream
 
consumed(Http2Stream, int) - Method in class dev.relism.flash.http2.stream.Http2FlowController
 
consumedReceiveBytes(int) - Method in class dev.relism.flash.http2.stream.Http2Stream
 
consumeFrame() - Method in class dev.relism.flash.http2.frame.Http2FrameReader
Advances past the frame last returned by Http2FrameReader.readFrame().
contains(String) - Method in class dev.relism.flash.http2.message.Http2HeaderMap
 
contains(String) - Method in enum class dev.relism.flash.models.EmptyHeaderView
 
contains(String) - Method in interface dev.relism.flash.models.HeaderView
Whether any header named name is present.
contains(String) - Method in class dev.relism.flash.models.Http1HeaderMap
 
contains(String) - Method in class dev.relism.flash.models.MutableHeaderMap
 
contentLength() - Method in class dev.relism.flash.models.RequestBody
Declared body size in bytes.
contentType() - Method in class dev.relism.flash.api.multipart.Part
Content-Type declared in the part headers, or null if absent.
ContentType - Enum Class in dev.relism.flash.http
Pre-compiled byte representations of common HTTP Content-Type values.
continuation(int, byte[], int, int, boolean) - Method in class dev.relism.flash.http2.hpack.ContinuationAssembler
 
CONTINUATION - Enum constant in enum class dev.relism.flash.http2.frame.FrameType
RFC 9113 §6.10.
ContinuationAssembler - Class in dev.relism.flash.http2.hpack
Reassembles one HEADERS/CONTINUATION sequence into a bounded contiguous connection buffer.
ContinuationAssembler() - Constructor for class dev.relism.flash.http2.hpack.ContinuationAssembler
 
ContinuationAssembler(int) - Constructor for class dev.relism.flash.http2.hpack.ContinuationAssembler
 
CONTINUE - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
cookie(String) - Method in class dev.relism.flash.models.Request
Returns the value of cookie name, or null if the request does not carry it.
copyPayload() - Method in class dev.relism.flash.websocket.WebSocketFrame
Copies the payload into a fresh array.
copyValues(Http2Stream[]) - Method in class dev.relism.flash.http2.stream.Http2StreamTable
 
cors() - Method in class dev.relism.flash.Flash.Middlewares
 
cors(Flash.Middlewares.CorsConfig) - Method in class dev.relism.flash.Flash.Middlewares
 
cors(Consumer<Flash.Middlewares.CorsConfig>) - Method in class dev.relism.flash.Flash.Middlewares
 
CorsConfig() - Constructor for class dev.relism.flash.Flash.Middlewares.CorsConfig
 
Cost model - Search tag in class dev.relism.flash.bytes.SegmentedByteView
Section
count() - Method in class dev.relism.flash.http2.hpack.HpackDynamicTable
 
count() - Method in class dev.relism.flash.http2.hpack.HpackHeaderBlock
 
count() - Method in class dev.relism.flash.http2.message.Http2HeaderMap
 
count() - Method in enum class dev.relism.flash.models.EmptyHeaderView
 
count() - Method in interface dev.relism.flash.models.HeaderView
Total number of header lines (not distinct names — a repeated header counts once per line).
count() - Method in class dev.relism.flash.models.Http1HeaderMap
 
count() - Method in class dev.relism.flash.models.MutableHeaderMap
 
create(int) - Static method in class dev.relism.flash.extension.FlashApp
 
create(FlashConfiguration) - Static method in class dev.relism.flash.extension.FlashApp
 
create(FlashConfiguration, AbstractRouter, AbstractWsRouter) - Static method in interface dev.relism.flash.ServerHandle
 
create(FlashConfiguration, AbstractRouter, AbstractWsRouter) - Static method in class dev.relism.flash.transport.TransportFactory
 
create(FlashContext) - Method in interface dev.relism.flash.extension.FlashContext.ServiceFactory
 
CREATED - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
createdCount() - Method in class dev.relism.flash.http2.message.DataBufferPool
 
createdCount() - Method in class dev.relism.flash.http2.stream.Http2StreamTable
 
credentials() - Method in class dev.relism.flash.Flash.Middlewares.CorsConfig
 
credentials(boolean) - Method in class dev.relism.flash.Flash.Middlewares.CorsConfig
 
ctx() - Method in class dev.relism.flash.extension.FlashApp
 
ctx() - Method in class dev.relism.flash.extension.FlashRegistrar
Returns the FlashContext for this registrar.
ctx() - Method in class dev.relism.flash.extension.FlashScope
 

D

DATA - Enum constant in enum class dev.relism.flash.http2.frame.FrameType
RFC 9113 §6.1.
DATA_BUFFER_POOL_SIZE - Static variable in class dev.relism.flash.http2.Http2Limits
Number of frame-sized buffers available to streaming request bodies on one connection.
DataBufferPool - Class in dev.relism.flash.http2.message
Bounded connection-owned free list of frame-sized request-body buffers.
DataBufferPool(int, int) - Constructor for class dev.relism.flash.http2.message.DataBufferPool
 
dataBytesInBatch() - Method in class dev.relism.flash.http2.message.Http2ResponseWriter
 
dataLength(long) - Static method in class dev.relism.flash.http2.frame.Padding
Extracts the data length from a value returned by Padding.unpad(byte[], int, int, boolean).
dataOffset(long) - Static method in class dev.relism.flash.http2.frame.Padding
Extracts the data offset from a value returned by Padding.unpad(byte[], int, int, boolean).
DateHeader - Class in dev.relism.flash.http
A daemon refreshes both protocol renderings once per second.
Deadline, not SO_TIMEOUT alone - Search tag in class dev.relism.flash.transport.BufferedByteSource
Section
declaredLength() - Method in class dev.relism.flash.http2.message.Http2RequestBody
 
decode(byte[], int, int, byte[], int, int) - Static method in class dev.relism.flash.http2.hpack.Huffman
Decodes the Huffman-coded string src[srcOff, srcOff + srcLen) into dst[dstOff, dstLimit), returning the number of bytes written.
decode(byte[], int, int, int) - Static method in class dev.relism.flash.http2.hpack.HpackIntegers
Decodes a prefix-coded integer starting at buf[pos], where the low prefixBits bits of buf[pos] carry the prefix (any higher bits — e.g. a representation's leading flag bits — are the caller's concern and are masked off here).
decode(byte[], int, int, HeaderSink) - Method in class dev.relism.flash.http2.hpack.HpackDecoder
Decodes one complete header block.
decodedSize() - Method in exception class dev.relism.flash.http2.hpack.HeaderListSizeException
 
Decoding: a nibble-driven FSM - Search tag in class dev.relism.flash.http2.hpack.Huffman
Section
DEFAULT_BOUND - Static variable in class dev.relism.flash.transport.ScratchPool
Default bound: generous enough that a real workload rarely misses, small enough that it is not itself a meaningful memory commitment (a few hundred KB at most).
DEFAULT_BUFFER_SIZE - Static variable in class dev.relism.flash.transport.BufferedByteSource
Default internal buffer size.
DEFAULT_HEADER_TABLE_SIZE - Static variable in class dev.relism.flash.http2.Http2Settings
 
DEFAULT_INITIAL_WINDOW_SIZE - Static variable in class dev.relism.flash.http2.Http2Settings
 
DEFAULT_MAX_FRAME_SIZE - Static variable in class dev.relism.flash.http2.Http2Settings
 
Default error handlers - Search tag in class dev.relism.flash.extension.FlashApp
Section
Default error handlers - Search tag in class dev.relism.flash.routing.AbstractRouter
Section
defaultMaxConnections() - Static method in class dev.relism.flash.transport.TransportLimits
Auto-scaled default for FlashConfiguration#getMaxConnections().
delete(String, SimpleHandler.FunctionalHandler, Middleware...) - Method in class dev.relism.flash.extension.FlashRegistrar
 
DELETE - Enum constant in enum class dev.relism.flash.http.HttpMethod
 
DELETE - Annotation Interface in dev.relism.flash.routing
Shorthand for @Route(method = HttpMethod.DELETE, path = "…").
deleteWith(String, SimpleHandler.FunctionalHandler, MiddlewareNode...) - Method in class dev.relism.flash.extension.FlashRegistrar
 
Deliberately not array-backed - Search tag in class dev.relism.flash.bytes.SegmentedByteView
Section
detach(Http2Stream, int) - Method in class dev.relism.flash.http2.stream.Http2StreamTable
Removes a wire-closed stream from live concurrency while retaining its in-flight buffer.
DEV - Static variable in class dev.relism.flash.Flash
 
dev.relism.flash - package dev.relism.flash
 
dev.relism.flash.api.multipart - package dev.relism.flash.api.multipart
 
dev.relism.flash.bytes - package dev.relism.flash.bytes
 
dev.relism.flash.exceptions - package dev.relism.flash.exceptions
 
dev.relism.flash.extension - package dev.relism.flash.extension
 
dev.relism.flash.http - package dev.relism.flash.http
 
dev.relism.flash.http1 - package dev.relism.flash.http1
 
dev.relism.flash.http2 - package dev.relism.flash.http2
 
dev.relism.flash.http2.frame - package dev.relism.flash.http2.frame
 
dev.relism.flash.http2.hpack - package dev.relism.flash.http2.hpack
 
dev.relism.flash.http2.message - package dev.relism.flash.http2.message
 
dev.relism.flash.http2.stream - package dev.relism.flash.http2.stream
 
dev.relism.flash.models - package dev.relism.flash.models
 
dev.relism.flash.routing - package dev.relism.flash.routing
 
dev.relism.flash.routing.routers.fastpathrouter - package dev.relism.flash.routing.routers.fastpathrouter
 
dev.relism.flash.routing.routers.radix - package dev.relism.flash.routing.routers.radix
 
dev.relism.flash.template - package dev.relism.flash.template
 
dev.relism.flash.tls - package dev.relism.flash.tls
 
dev.relism.flash.transport - package dev.relism.flash.transport
 
dev.relism.flash.websocket - package dev.relism.flash.websocket
 
Dev mode - Search tag in class dev.relism.flash.Flash
Section
Dev-mode use-after-recycle guard - Search tag in class dev.relism.flash.models.Request
Section
discarded(int) - Method in class dev.relism.flash.http2.stream.Http2FlowController
 
discover(String) - Static method in class dev.relism.flash.extension.PackageScanner
Shared deterministic classpath discovery primitive for Flash extensions.
dispatched() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
doRegister(HttpMethod, String, RequestHandler, Middleware[]) - Method in class dev.relism.flash.routing.AbstractRouter
Registers a handler with a pre-built middleware array.
drain() - Method in class dev.relism.flash.http2.frame.Http2FrameWriter
Flushes any queued intents.
drain() - Method in class dev.relism.flash.models.Request
Discards unread body bytes; called by the server after each request on keep-alive connections.
dynamicTable() - Method in class dev.relism.flash.http2.hpack.HpackDecoder
 

E

echo(WebSocketFrame) - Method in class dev.relism.flash.websocket.WebSocketSession
 
EITHER - Enum constant in enum class dev.relism.flash.http2.frame.FrameType.StreamIdRule
 
EMPTY - Static variable in class dev.relism.flash.models.QueryParams
 
EmptyHeaderView - Enum Class in dev.relism.flash.models
Immutable empty header collection shared by requests without trailers.
ENABLE_CONNECT_PROTOCOL - Static variable in class dev.relism.flash.http2.Http2Settings
 
ENABLE_PUSH - Static variable in class dev.relism.flash.http2.Http2Settings
 
enableHttp2Alpn() - Method in class dev.relism.flash.tls.TlsConfig
Returns this TLS configuration with HTTP/2 enabled and HTTP/1.1 retained as fallback.
encode(ByteWriter, byte[], int, int) - Static method in class dev.relism.flash.http2.hpack.Huffman
Huffman-encodes src[off, off + len), writing directly into out.
encode(ByteWriter, int, int, int) - Static method in class dev.relism.flash.http2.hpack.HpackIntegers
Encodes value as a prefix-coded integer into prefixByteFlags | encoded value, writing into out.
encodedLength(byte[], int, int) - Static method in class dev.relism.flash.http2.hpack.Huffman
The number of bytes Huffman.encode(dev.relism.flash.bytes.ByteWriter, byte[], int, int) would produce for src[off, off + len) — the ceiling of the total bit length over 8.
Encoding convention used across this codebase - Search tag in class dev.relism.flash.bytes.Pairs
Section
END_HEADERS - Static variable in class dev.relism.flash.http2.frame.FrameFlags
HEADERS/PUSH_PROMISE/CONTINUATION: the header block is complete — no CONTINUATION follows.
END_STREAM - Static variable in class dev.relism.flash.http2.frame.FrameFlags
DATA/HEADERS: no more frames will be sent for this stream in this direction.
endFrame() - Method in class dev.relism.flash.http2.frame.FrameWriteBuffer
Back-patches the length field written by FrameWriteBuffer.beginFrame(dev.relism.flash.http2.frame.FrameType, int, int) now that the payload's size is known.
endResponseBatch() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
endStreamInBatch() - Method in class dev.relism.flash.http2.message.Http2ResponseWriter
 
ENHANCE_YOUR_CALM - Enum constant in enum class dev.relism.flash.http2.Http2ErrorCode
The peer is generating excessive load (rate-limit rejection: Rapid Reset, PING/SETTINGS floods).
equals(Object) - Method in record class dev.relism.flash.extension.FlashConfiguration.Listener
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.relism.flash.extension.RouteEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class dev.relism.flash.models.PreEncodedHeader
 
equals(Object) - Method in record class dev.relism.flash.routing.MiddlewareKey
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.relism.flash.transport.BoundListener
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class dev.relism.flash.transport.ConnectionContext
Indicates whether some other object is "equal to" this one.
equalsIgnoreCase(ByteView, int, int, String) - Static method in class dev.relism.flash.bytes.ByteScan
Case-insensitive (ASCII) equality of view[start, end) against target.
equalsIgnoreCaseAscii(byte[], int, int, byte[], int, int) - Static method in class dev.relism.flash.bytes.ByteScan
Case-insensitive (ASCII) equality of two byte-array ranges.
equalsIgnoreCaseAscii(byte[], int, int, String) - Static method in class dev.relism.flash.bytes.ByteScan
Case-insensitive (ASCII) equality of buf[start, end) against target.
errorCode() - Method in exception class dev.relism.flash.http2.Http2Exception
The RFC 9113 §7 error code to send in the GOAWAY frame.
errorCode() - Method in exception class dev.relism.flash.http2.Http2StreamException
The RFC 9113 §7 error code to send in the RST_STREAM frame.
ErrorPages - Class in dev.relism.flash.template
Precompiled error page templates.
ErrorPages() - Constructor for class dev.relism.flash.template.ErrorPages
 
exceptionHandler - Variable in class dev.relism.flash.routing.AbstractRouter
 
executor() - Method in record class dev.relism.flash.transport.ConnectionContext
Returns the value of the executor record component.
EXPECTATION_FAILED - Enum constant in enum class dev.relism.flash.http.HttpStatus
 

F

FastPathRouterImpl - Class in dev.relism.flash.routing.routers.fastpathrouter
Router backed by the fpr-core byte-level state machine.
FastPathRouterImpl() - Constructor for class dev.relism.flash.routing.routers.fastpathrouter.FastPathRouterImpl
 
FastPathViews - Class in dev.relism.flash.routing.routers.fastpathrouter
ByteView implementations used on the router and parser hot paths.
FastPathViews() - Constructor for class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews
 
FastPathViews.MethodPathByteView - Class in dev.relism.flash.routing.routers.fastpathrouter
Mutable composite view: method bytes + path.
FastPathViews.RequestByteView - Class in dev.relism.flash.routing.routers.fastpathrouter
bounds instead of requiring a fresh allocation.
FastPathViews.SocketByteView - Class in dev.relism.flash.routing.routers.fastpathrouter
 
FastPathViews.StringByteView - Class in dev.relism.flash.routing.routers.fastpathrouter
 
FastPathWsRouterImpl - Class in dev.relism.flash.routing.routers.fastpathrouter
WebSocket-upgrade counterpart of FastPathRouterImpl — same fpr-core matching via FastPathWsRouterImpl.newScratch() in place of the ThreadLocals this class used to hold).
FastPathWsRouterImpl() - Constructor for class dev.relism.flash.routing.routers.fastpathrouter.FastPathWsRouterImpl
 
field(String) - Method in class dev.relism.flash.api.multipart.Multipart
Returns the text value of the first field named name, or null.
file(String) - Method in class dev.relism.flash.api.multipart.Multipart
Returns the first file part named name, or null.
filename() - Method in class dev.relism.flash.api.multipart.Part
Original filename from filename="...", or null for text fields.
find(Class<T>) - Method in class dev.relism.flash.extension.FlashContext
 
find(Class<T>) - Method in class dev.relism.flash.models.RequestHandler
Looks up an optional service from the FlashContext.
find(Class<T>) - Method in class dev.relism.flash.websocket.WebSocketEndpoint
 
findName(ByteView) - Static method in class dev.relism.flash.http2.hpack.HpackStaticTable
 
findPair(ByteView, ByteView) - Static method in class dev.relism.flash.http2.hpack.HpackStaticTable
 
finish(int) - Method in class dev.relism.flash.http2.message.Http2RequestBody
 
finished() - Method in class dev.relism.flash.http2.message.Http2ResponseWriter
 
finishRequestBody() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
first(String) - Method in class dev.relism.flash.http2.message.Http2HeaderMap
 
first(String) - Method in enum class dev.relism.flash.models.EmptyHeaderView
 
first(String) - Method in interface dev.relism.flash.models.HeaderView
Returns the first value of header name (case-insensitive), or null.
first(String) - Method in class dev.relism.flash.models.Http1HeaderMap
 
first(String) - Method in class dev.relism.flash.models.MutableHeaderMap
 
flags() - Method in class dev.relism.flash.http2.frame.FrameHeader
The raw flags byte — interpret via FrameFlags, which is type-specific.
Flash - Class in dev.relism.flash
Global Flash constants and runtime environment flags.
Flash.Commons - Class in dev.relism.flash
 
Flash.Middlewares - Class in dev.relism.flash
 
Flash.Middlewares.CorsConfig - Class in dev.relism.flash
 
FlashApp - Class in dev.relism.flash.extension
Single entry point for Flash.
FlashApplication - Interface in dev.relism.flash.extension
One application's complete contribution to a FlashApp — its routes, extensions and services — expressed independently of which port or configuration it runs on.
FlashConfiguration - Class in dev.relism.flash.extension
Configuration for a FlashApp instance.
FlashConfiguration() - Constructor for class dev.relism.flash.extension.FlashConfiguration
 
FlashConfiguration.Listener - Record Class in dev.relism.flash.extension
One bind target: a TCP port, an optional bind host (default: all interfaces), and optional TLS.
FlashContext - Class in dev.relism.flash.extension
Deterministic boot-time service graph, frozen before handlers are initialised.
FlashContext() - Constructor for class dev.relism.flash.extension.FlashContext
 
FlashContext.ServiceFactory<T> - Interface in dev.relism.flash.extension
 
FlashExtension - Interface in dev.relism.flash.extension
One declarative contribution to a Flash application.
FlashRegistrar<SELF> - Class in dev.relism.flash.extension
Common route-registration surface shared by FlashApp and FlashScope.
FlashRegistrar() - Constructor for class dev.relism.flash.extension.FlashRegistrar
 
FlashScope - Class in dev.relism.flash.extension
Scoped builder for namespace-prefixed routes.
FLOW_CONTROL_ERROR - Enum constant in enum class dev.relism.flash.http2.Http2ErrorCode
A flow-control window was violated: overflow past 2^31-1, or a peer exceeded its window.
FLOW_CONTROL_ERROR - Static variable in exception class dev.relism.flash.http2.Http2Exception
 
Flow control (forward note, not implemented here) - Search tag in class dev.relism.flash.http2.frame.Padding
Section
flush() - Method in interface dev.relism.flash.models.ResponseStream
 
flush() - Method in class dev.relism.flash.models.ResponseStreamOutputStream
 
FONT_WOFF - Enum constant in enum class dev.relism.flash.http.ContentType
 
FONT_WOFF2 - Enum constant in enum class dev.relism.flash.http.ContentType
 
forbidden() - Static method in exception class dev.relism.flash.exceptions.HttpException
 
forbidden(String) - Static method in exception class dev.relism.flash.exceptions.HttpException
Refused with a reason the caller may be told — why the credential is not enough, never what it would take.
FORBIDDEN - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
FORBIDDEN - Enum constant in enum class dev.relism.flash.http2.frame.FrameType.StreamIdRule
 
forceClose() - Method in class dev.relism.flash.websocket.WebSocketSession
 
forEach(Http2StreamTable.StreamConsumer) - Method in class dev.relism.flash.http2.stream.Http2StreamTable
 
forEach(HeaderView.HeaderConsumer) - Method in class dev.relism.flash.http2.message.Http2HeaderMap
 
forEach(HeaderView.HeaderConsumer) - Method in enum class dev.relism.flash.models.EmptyHeaderView
 
forEach(HeaderView.HeaderConsumer) - Method in interface dev.relism.flash.models.HeaderView
Visits every header in declaration order without allocating a per-header object — see each implementation's Javadoc for exactly which instances are reused and their validity window.
forEach(HeaderView.HeaderConsumer) - Method in class dev.relism.flash.models.Http1HeaderMap
 
forEach(HeaderView.HeaderConsumer) - Method in class dev.relism.flash.models.MutableHeaderMap
 
forEachCustomField(Response, ResponseSerializer.FieldConsumer) - Static method in class dev.relism.flash.models.ResponseSerializer
Enumerates structured custom fields only, excluding content-type.
forEachField(Response, ResponseSerializer.FieldConsumer) - Static method in class dev.relism.flash.models.ResponseSerializer
Enumerates response's fields in a fixed order: non-empty Content-Type, then structured custom fields in call order.
forEachTrailerField(Response, ResponseSerializer.FieldConsumer) - Static method in class dev.relism.flash.models.ResponseSerializer
Enumerates response trailers in declaration order.
FORM_URLENCODED - Enum constant in enum class dev.relism.flash.http.ContentType
 
forParsed(Request, RequestLine, RequestBody, InetSocketAddress, SSLSocket) - Static method in class dev.relism.flash.models.Request
Repositions pooled over a freshly-parsed request.
FOUND - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
Fragmentation, masking, and control frames (RFC 6455 §5) - Search tag in class dev.relism.flash.websocket.WebSocketSession
Section
FRAME_READ_TIMEOUT_MS - Static variable in class dev.relism.flash.http2.Http2Limits
Maximum time, in milliseconds, Http2FrameReader may wait for a single frame's header and payload to fully arrive.
FRAME_SIZE_ERROR - Enum constant in enum class dev.relism.flash.http2.Http2ErrorCode
A frame's length did not match what its type requires (RFC 9113 §4.2, per-type rules).
FRAME_SIZE_ERROR - Static variable in exception class dev.relism.flash.http2.Http2Exception
 
frameDeadlineExpired() - Method in class dev.relism.flash.http2.frame.Http2FrameReader
Whether a partially received frame exhausted its non-renewable absolute deadline.
FrameFlags - Class in dev.relism.flash.http2.frame
The frame-header flag bits (RFC 9113 §6), as bitwise constants plus predicate helpers.
FrameHeader - Class in dev.relism.flash.http2.frame
A flyweight over one frame's 9-byte header plus its payload location, both still living in Http2FrameReader's own read buffer.
FrameHeader() - Constructor for class dev.relism.flash.http2.frame.FrameHeader
 
FrameType - Enum Class in dev.relism.flash.http2.frame
The 10 HTTP/2 frame types (RFC 9113 §6), plus the shared per-type validation rules FrameValidator enforces.
FrameType.StreamIdRule - Enum Class in dev.relism.flash.http2.frame
Whether a frame type requires stream id 0, requires it non-zero, or permits either.
FrameValidator - Class in dev.relism.flash.http2.frame
Table-driven RFC 9113 per-frame-type validation: length bounds, the stream-id required/forbidden/either rule, and the two special-cased structural rules (SETTINGS' multiple-of-6 length, PUSH_PROMISE always rejected from a client) that do not fit a class is the code that reads it.
FrameWriteBuffer - Class in dev.relism.flash.http2.frame
Serializes HTTP/2 frames into a ByteWriter scratch buffer with the standard length-back-patching technique: FrameWriteBuffer.beginFrame(dev.relism.flash.http2.frame.FrameType, int, int) writes a 9-byte header with a placeholder length, the caller writes the payload directly through FrameWriteBuffer.writer() (the same ByteWriter), and FrameWriteBuffer.endFrame() rewrites the length once it is known — the payload size is rarely known before it is serialized (an HPACK-encoded header block, in particular, has no cheap way to be measured in advance).
FrameWriteBuffer(ByteWriter) - Constructor for class dev.relism.flash.http2.frame.FrameWriteBuffer
 
freeCount() - Method in class dev.relism.flash.http2.stream.Http2StreamTable
 
fromBytes(byte[], int, int) - Static method in enum class dev.relism.flash.http.HttpMethod
Resolves the HttpMethod from a byte buffer segment using O(1) dispatch.
fromCode(int) - Static method in enum class dev.relism.flash.http2.frame.FrameType
Looks up the constant for a wire type byte, or null if it is an unrecognised (to-be-ignored) type.
fromCode(int) - Static method in enum class dev.relism.flash.http2.Http2ErrorCode
Decodes a 32-bit error code received from a peer.
fullyRead() - Method in class dev.relism.flash.http2.message.Http2RequestBody
 
fullyRead() - Method in interface dev.relism.flash.models.BodyCompletion
 
fullyRead() - Method in class dev.relism.flash.models.RequestBody
Whether the complete body has been consumed by the application.

G

GATEWAY_TIMEOUT - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
generation() - Method in class dev.relism.flash.websocket.WebSocketFrame
Returns the generation counter at the moment of this call.
get(int) - Method in class dev.relism.flash.http2.stream.Http2StreamTable
 
get(int, PooledSlice, PooledSlice) - Method in class dev.relism.flash.http2.hpack.HpackDynamicTable
Resolves a dynamic index where 1 is the newest entry.
get(int, PooledSlice, PooledSlice) - Method in class dev.relism.flash.http2.hpack.HpackHeaderBlock
 
get(String) - Method in class dev.relism.flash.models.PathParams
 
get(String) - Method in class dev.relism.flash.models.QueryParams
 
get(String, SimpleHandler.FunctionalHandler, Middleware...) - Method in class dev.relism.flash.extension.FlashRegistrar
 
GET - Enum constant in enum class dev.relism.flash.http.HttpMethod
 
GET - Annotation Interface in dev.relism.flash.routing
Shorthand for @Route(method = HttpMethod.GET, path = "…").
getAll(String) - Method in class dev.relism.flash.models.QueryParams
 
getBody() - Method in class dev.relism.flash.models.Response
 
getContentType() - Method in class dev.relism.flash.models.Response
 
getExceptionHandler() - Method in class dev.relism.flash.routing.AbstractRouter
 
getHeaders() - Method in class dev.relism.flash.models.RequestLine
 
getHeaders() - Method in class dev.relism.flash.models.Response
Returns custom headers as fully-rendered "Name: Value\r\n" lines, or an empty list if none were added.
getHpackBytes() - Method in enum class dev.relism.flash.http.ContentType
Precompiled HPACK content-type field, or an empty array for ContentType.NONE.
getMethod() - Method in class dev.relism.flash.models.RequestLine
 
getNotFoundHandler() - Method in class dev.relism.flash.routing.AbstractRouter
 
getPath() - Method in class dev.relism.flash.models.RequestLine
 
getPathParams() - Method in class dev.relism.flash.models.Request
Internal: path parameters injected by the router, or null if none matched.
getProtocol() - Method in class dev.relism.flash.models.RequestLine
The wire protocol token (e.g.
getQuery() - Method in class dev.relism.flash.models.RequestLine
Raw query string bytes (after ?), or null if the URI has no query string.
getRequestLine() - Method in class dev.relism.flash.models.Request
Internal: the parsed request line (method, path, query, protocol, headers).
getStatusBytes() - Method in class dev.relism.flash.models.Response
 
getStatusCode() - Method in class dev.relism.flash.models.Response
 
getStream() - Method in class dev.relism.flash.models.Response
 
getStreamLength() - Method in class dev.relism.flash.models.Response
 
getWith(String, SimpleHandler.FunctionalHandler, MiddlewareNode...) - Method in class dev.relism.flash.extension.FlashRegistrar
 
GOAWAY - Enum constant in enum class dev.relism.flash.http2.frame.FrameType
RFC 9113 §6.8.
GONE - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
GRAPHQL - Enum constant in enum class dev.relism.flash.http.ContentType
 
GZIP - Enum constant in enum class dev.relism.flash.http.ContentType
 

H

HALF_CLOSED_LOCAL - Enum constant in enum class dev.relism.flash.http2.stream.Http2StreamState
 
HALF_CLOSED_REMOTE - Enum constant in enum class dev.relism.flash.http2.stream.Http2StreamState
 
handle(Request, Response) - Method in class dev.relism.flash.models.RequestHandler
Handles an incoming request.
handle(Request, Response) - Method in interface dev.relism.flash.models.SimpleHandler.FunctionalHandler
 
handle(Request, Response) - Method in class dev.relism.flash.models.SimpleHandler
 
handle(Exception, Request, Response) - Method in interface dev.relism.flash.routing.AbstractRouter.ExceptionHandler
 
Handler abstraction chain - Search tag in record class dev.relism.flash.extension.RouteEvent
Section
handlerClass() - Method in record class dev.relism.flash.extension.RouteEvent
Returns the value of the handlerClass record component.
handleRequest(Http2Stream) - Method in interface dev.relism.flash.http2.stream.Http2Stream.ResponseSink
 
hasBufferedBytes() - Method in class dev.relism.flash.RequestParser
Whether bytes from a previous RequestParser.parse(dev.relism.flash.transport.BufferedByteSource) call are already buffered and ready to be consumed by the next call without reading anything further from the source — the HTTP pipelining case.
hasBufferedInput() - Method in class dev.relism.flash.http2.frame.Http2FrameReader
Whether another frame may be consumed immediately without waiting for network input.
hashCode() - Method in record class dev.relism.flash.extension.FlashConfiguration.Listener
Returns a hash code value for this object.
hashCode() - Method in record class dev.relism.flash.extension.RouteEvent
Returns a hash code value for this object.
hashCode() - Method in class dev.relism.flash.models.PreEncodedHeader
 
hashCode() - Method in record class dev.relism.flash.routing.MiddlewareKey
Returns a hash code value for this object.
hashCode() - Method in record class dev.relism.flash.transport.BoundListener
Returns a hash code value for this object.
hashCode() - Method in record class dev.relism.flash.transport.ConnectionContext
Returns a hash code value for this object.
hashNameIgnoreCaseAscii(byte[], int, int) - Static method in class dev.relism.flash.bytes.ByteScan
Case-insensitive (ASCII fold) 32-bit FNV-1a hash of buf[start, start + len).
hashNameIgnoreCaseAscii(String) - Static method in class dev.relism.flash.bytes.ByteScan
Same hash as ByteScan.hashNameIgnoreCaseAscii(byte[], int, int), computed directly from a lookup-key String (e.g.
hasPriority(int) - Static method in class dev.relism.flash.http2.frame.FrameFlags
 
hasTrailers() - Method in class dev.relism.flash.models.Response
 
head(String, SimpleHandler.FunctionalHandler, Middleware...) - Method in class dev.relism.flash.extension.FlashRegistrar
 
HEAD - Enum constant in enum class dev.relism.flash.http.HttpMethod
 
HEAD - Annotation Interface in dev.relism.flash.routing
Shorthand for @Route(method = HttpMethod.HEAD, path = "…").
header(byte[]) - Method in class dev.relism.flash.models.Response
Adds a pre-encoded, fully-rendered header line (e.g. a static "X-RateLimit-Limit: 100\r\n" byte array pre-built at boot time).
header(PreEncodedHeader) - Method in class dev.relism.flash.models.Response
Adds a header from a PreEncodedHeader built once (typically at boot).
header(String) - Method in class dev.relism.flash.models.Request
Returns the first value of header name, or null if absent.
header(String, String) - Method in class dev.relism.flash.models.Response
reused byte region (via ByteWriter.writeAscii(java.lang.String)) instead of building an intermediate String and re-encoding it — zero allocation once the region has grown to this connection's high-water mark.
HEADER_BLOCK_ASSEMBLY_TIMEOUT_MS - Static variable in class dev.relism.flash.http2.Http2Limits
Maximum time, in milliseconds, allowed between a HEADERS frame's arrival and the header block's completion (its END_HEADERS flag, possibly after CONTINUATION frames).
HEADER_TABLE_SIZE - Static variable in class dev.relism.flash.http2.Http2Settings
 
headerBlock() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
headerEquals(String, String) - Method in class dev.relism.flash.models.Request
Internal: case-insensitive header value comparison used by the server keep-alive logic.
HeaderListSizeException - Exception Class in dev.relism.flash.http2.hpack
Signals that a fully decoded HPACK block exceeded the configured header-list limit.
headers() - Method in class dev.relism.flash.Flash.Middlewares.CorsConfig
 
headers() - Method in class dev.relism.flash.models.Request
Returns all header values in declaration order, one entry per header line.
headers(String) - Method in class dev.relism.flash.models.Request
Returns all values of header name in declaration order.
headers(String...) - Method in class dev.relism.flash.Flash.Middlewares.CorsConfig
 
HEADERS - Enum constant in enum class dev.relism.flash.http2.frame.FrameType
RFC 9113 §6.2.
headersInBatch() - Method in class dev.relism.flash.http2.message.Http2ResponseWriter
 
HeaderSink - Interface in dev.relism.flash.http2.hpack
Receives decoded HPACK fields in wire order.
headerTableSize() - Method in class dev.relism.flash.http2.Http2Settings
 
headerView(String) - Method in class dev.relism.flash.models.Request
The first value of header name as a view over the request's own bytes, or null: Request.header(java.lang.String) without the String, for a hot path.
HeaderView - Interface in dev.relism.flash.models
The read-side, protocol-neutral contract every header container implements.
HeaderView.HeaderConsumer - Interface in dev.relism.flash.models
headWith(String, SimpleHandler.FunctionalHandler, MiddlewareNode...) - Method in class dev.relism.flash.extension.FlashRegistrar
 
hi(long) - Static method in class dev.relism.flash.bytes.Pairs
Extracts the upper 32 bits packed by Pairs.pack(int, int).
HopByHopHeaders - Class in dev.relism.flash.http
Shared proxy policy for fields that must not cross an HTTP connection boundary.
HopByHopHeaders.Protocol - Enum Class in dev.relism.flash.http
 
host() - Method in record class dev.relism.flash.extension.FlashConfiguration.Listener
Returns the value of the host record component.
HPACK_DYNAMIC_TABLE_SIZE_LOCAL - Static variable in class dev.relism.flash.http2.Http2Limits
The HPACK dynamic table size Flash's decoder honours, in bytes of RFC 7541 §4.1 accounting.
hpackBytes() - Static method in class dev.relism.flash.http.DateHeader
Current precompiled HPACK date field.
hpackBytes() - Method in enum class dev.relism.flash.http.HttpStatus
Precompiled HPACK representation of :status.
hpackBytesFor(byte[]) - Static method in enum class dev.relism.flash.http.ContentType
Finds the boot-time HPACK rendering for a response content-type byte array.
hpackBytesForCode(int) - Static method in enum class dev.relism.flash.http.HttpStatus
Returns the precompiled HPACK status field for a known code, or null.
HpackDecoder - Class in dev.relism.flash.http2.hpack
Stateful, allocation-free HPACK decoder for one HTTP/2 connection direction.
HpackDecoder() - Constructor for class dev.relism.flash.http2.hpack.HpackDecoder
 
HpackDecoder(int, int) - Constructor for class dev.relism.flash.http2.hpack.HpackDecoder
 
HpackDynamicTable - Class in dev.relism.flash.http2.hpack
Per-connection HPACK dynamic table.
HpackDynamicTable(int) - Constructor for class dev.relism.flash.http2.hpack.HpackDynamicTable
 
HpackEncoder - Class in dev.relism.flash.http2.hpack
Stateless HPACK encoder for response header blocks.
HpackHeaderBlock - Class in dev.relism.flash.http2.hpack
Reusable per-stream storage for decoded header fields.
HpackHeaderBlock() - Constructor for class dev.relism.flash.http2.hpack.HpackHeaderBlock
 
HpackIntegers - Class in dev.relism.flash.http2.hpack
RFC 7541 §5.1 prefix-coded integer encode/decode.
HpackStaticTable - Class in dev.relism.flash.http2.hpack
The immutable 61-entry HPACK static table defined by RFC 7541 Appendix A.
HTTP_1_1 - Enum constant in enum class dev.relism.flash.http.HopByHopHeaders.Protocol
 
HTTP_1_1 - Enum constant in enum class dev.relism.flash.transport.NegotiatedProtocol
 
HTTP_1_1_REQUIRED - Enum constant in enum class dev.relism.flash.http2.Http2ErrorCode
Defined by RFC 9113 for HTTP/1.1-only resources; Flash serves everything over h2, so unused.
HTTP_2 - Enum constant in enum class dev.relism.flash.http.HopByHopHeaders.Protocol
 
HTTP_2 - Enum constant in enum class dev.relism.flash.transport.NegotiatedProtocol
 
HTTP_VERSION_NOT_SUPPORTED - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
Http1Connection - Class in dev.relism.flash.http1
The HTTP/1.1 keep-alive request loop: parse → route → handle → respond, repeated until the connection closes.
Http1Connection() - Constructor for class dev.relism.flash.http1.Http1Connection
 
Http1HeaderMap - Class in dev.relism.flash.models
HeaderView backed directly by RequestParser's byte buffer — lazy, zero-copy: strings are allocated only when Http1HeaderMap.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.
Http1HeaderMap() - Constructor for class dev.relism.flash.models.Http1HeaderMap
 
Http1KeepAlive - Class in dev.relism.flash.http1
HTTP/1.1 keep-alive decision (RFC 9110 §7.6.1) and the shared Connection header token-list scanner both it and WebSocket upgrade detection need.
Http1Limits - Class in dev.relism.flash.http
Bounds the HTTP/1.1 parser (RequestParser, ChunkedInputStream) enforces against a peer's input, in one place.
Http1ResponseWriter - Class in dev.relism.flash.http1
Serializes a Response as an HTTP/1.1 message.
Http2Connection - Class in dev.relism.flash.http2
Owns one HTTP/2 connection's demultiplexing and connection-level protocol state.
Http2Connection() - Constructor for class dev.relism.flash.http2.Http2Connection
 
Http2Connection(Http2Settings.StreamWindowUpdater) - Constructor for class dev.relism.flash.http2.Http2Connection
 
Http2ErrorCode - Enum Class in dev.relism.flash.http2
The 14 HTTP/2 error codes defined by RFC 9113 §7.
Http2Exception - Exception Class in dev.relism.flash.http2
A connection-level HTTP/2 error.
Http2FlowController - Class in dev.relism.flash.http2.stream
Connection-level half of HTTP/2's two-level flow-control accounting.
Http2FlowController(Http2FlowController.WindowUpdateSink) - Constructor for class dev.relism.flash.http2.stream.Http2FlowController
 
Http2FlowController.WindowUpdateSink - Interface in dev.relism.flash.http2.stream
 
Http2FrameReader - Class in dev.relism.flash.http2.frame
Reads length-prefixed HTTP/2 frames from one connection's BufferedByteSource.
Http2FrameReader(BufferedByteSource) - Constructor for class dev.relism.flash.http2.frame.Http2FrameReader
 
Http2FrameReader(BufferedByteSource, int) - Constructor for class dev.relism.flash.http2.frame.Http2FrameReader
 
Http2FrameWriter - Class in dev.relism.flash.http2.frame
The one component every HTTP/2 write in this codebase passes through — connection frames and stream frames alike (both are just WriteIntents).
Http2FrameWriter(Http2FrameWriter.Sink) - Constructor for class dev.relism.flash.http2.frame.Http2FrameWriter
 
Http2FrameWriter(Http2FrameWriter.Sink, long) - Constructor for class dev.relism.flash.http2.frame.Http2FrameWriter
 
Http2FrameWriter.Sink - Interface in dev.relism.flash.http2.frame
What a frame's serialized bytes are ultimately written to.
Http2HeaderMap - Class in dev.relism.flash.http2.message
Header view over stream-owned decoded HPACK storage.
Http2HeaderMap() - Constructor for class dev.relism.flash.http2.message.Http2HeaderMap
 
Http2Limits - Class in dev.relism.flash.http2
Every bound the HTTP/2 implementation enforces against a peer's input, in one place.
Http2Preface - Class in dev.relism.flash.http2
Byte-exact client preface and immutable server startup frames, compiled once at class load.
Http2RequestBody - Class in dev.relism.flash.http2.message
Reusable request-body source fed by the connection demultiplexer.
Http2RequestBody(DataBufferPool) - Constructor for class dev.relism.flash.http2.message.Http2RequestBody
 
Http2RequestBody.ConsumptionListener - Interface in dev.relism.flash.http2.message
 
Http2ResponseWriter - Class in dev.relism.flash.http2.message
Reusable per-stream HTTP/2 response serializer.
Http2ResponseWriter() - Constructor for class dev.relism.flash.http2.message.Http2ResponseWriter
 
Http2ResponseWriter(int, int) - Constructor for class dev.relism.flash.http2.message.Http2ResponseWriter
 
Http2ResponseWriter.Completion - Interface in dev.relism.flash.http2.message
 
Http2Settings - Class in dev.relism.flash.http2
The peer's HTTP/2 SETTINGS state.
Http2Settings() - Constructor for class dev.relism.flash.http2.Http2Settings
 
Http2Settings.StreamWindowUpdater - Interface in dev.relism.flash.http2
Applies an INITIAL_WINDOW_SIZE delta to every open stream.
Http2Stream - Class in dev.relism.flash.http2.stream
Per-stream request, response, decoded-header and write state.
Http2Stream.ResponseSink - Interface in dev.relism.flash.http2.stream
 
Http2StreamException - Exception Class in dev.relism.flash.http2
A stream-level HTTP/2 error, scoped to one stream id.
Http2StreamException(int, Http2ErrorCode, String) - Constructor for exception class dev.relism.flash.http2.Http2StreamException
 
Http2StreamState - Enum Class in dev.relism.flash.http2.stream
Explicit RFC 9113 stream-state transition table.
Http2StreamState.Event - Enum Class in dev.relism.flash.http2.stream
 
Http2StreamTable - Class in dev.relism.flash.http2.stream
Fixed-capacity primitive stream-id table using linear-probed open addressing.
Http2StreamTable(int) - Constructor for class dev.relism.flash.http2.stream.Http2StreamTable
 
Http2StreamTable(int, DataBufferPool) - Constructor for class dev.relism.flash.http2.stream.Http2StreamTable
 
Http2StreamTable.StreamConsumer - Interface in dev.relism.flash.http2.stream
 
HttpException - Exception Class in dev.relism.flash.exceptions
Runtime exception carrying an HTTP status code.
HttpException(int, String) - Constructor for exception class dev.relism.flash.exceptions.HttpException
 
HttpMethod - Enum Class in dev.relism.flash.http
 
HttpStatus - Enum Class in dev.relism.flash.http
Pre-compiled byte representations of standard HTTP status lines.
Huffman - Class in dev.relism.flash.http2.hpack
RFC 7541 §5.2 / Appendix B: the fixed canonical Huffman code used to compress HPACK string literals.

I

id() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
IDLE - Enum constant in enum class dev.relism.flash.http2.stream.Http2StreamState
 
idleExpired(long, long) - Method in class dev.relism.flash.http2.stream.Http2Stream
 
IMAGE_AVIF - Enum constant in enum class dev.relism.flash.http.ContentType
 
IMAGE_GIF - Enum constant in enum class dev.relism.flash.http.ContentType
 
IMAGE_ICO - Enum constant in enum class dev.relism.flash.http.ContentType
 
IMAGE_JPEG - Enum constant in enum class dev.relism.flash.http.ContentType
 
IMAGE_PNG - Enum constant in enum class dev.relism.flash.http.ContentType
 
IMAGE_SVG - Enum constant in enum class dev.relism.flash.http.ContentType
 
IMAGE_WEBP - Enum constant in enum class dev.relism.flash.http.ContentType
 
in() - Method in record class dev.relism.flash.transport.ConnectionContext
Returns the value of the in record component.
INADEQUATE_SECURITY - Enum constant in enum class dev.relism.flash.http2.Http2ErrorCode
The negotiated TLS parameters fall below RFC 9113 §9.2's minimum security requirements.
increaseConnectionSendWindow(int) - Method in class dev.relism.flash.http2.stream.Http2FlowController
 
increaseStreamSendWindow(Http2Stream, int) - Method in class dev.relism.flash.http2.stream.Http2FlowController
 
incrementEmptyDataFrames() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
indexOf(byte[], int, int, byte) - Static method in class dev.relism.flash.bytes.ByteScan
Index of the first occurrence of target in buf[from, to), or -1.
indexOfCrLfCrLf(byte[], int, int) - Static method in class dev.relism.flash.bytes.ByteScan
Index of the first "\r\n\r\n" in buf[from, to), or -1.
INITIAL_WINDOW_SIZE - Static variable in class dev.relism.flash.http2.Http2Settings
 
INITIAL_WINDOW_SIZE_LOCAL - Static variable in class dev.relism.flash.http2.Http2Limits
The value of SETTINGS_INITIAL_WINDOW_SIZE Flash advertises for every new stream: deliberately large (1 MiB, versus the RFC default of 65535) so that a normal-sized
InitializationException - Exception Class in dev.relism.flash.exceptions
Thrown at boot time when Flash detects a configuration or registration error.
InitializationException(String) - Constructor for exception class dev.relism.flash.exceptions.InitializationException
 
InitializationException(String, Throwable) - Constructor for exception class dev.relism.flash.exceptions.InitializationException
 
initializeStreamSendWindow(Http2Stream, int) - Method in class dev.relism.flash.http2.stream.Http2FlowController
 
initialWindowSize() - Method in class dev.relism.flash.http2.Http2Settings
 
inject(Request, PathParams) - Static method in class dev.relism.flash.models.PathParams
Injects path parameters into a request.
INLINE_BODY_THRESHOLD - Static variable in class dev.relism.flash.http.Http1Limits
buffer as the response head (status line + headers) and written with it in a single OutputStream.write call; larger bodies are written in a second write right after the head, since copying a large body into the head buffer first would cost more (an extra full-body memcpy) than the syscall it saves. 8 KiB — matches this codebase's other "one socket-buffer's worth" constants (ConnectionScratch.RELAY_BUFFER_SIZE, BufferedByteSource.DEFAULT_BUFFER_SIZE) rather than introducing an uncalibrated
INLINE_BODY_THRESHOLD - Static variable in class dev.relism.flash.http2.Http2Limits
Largest request body retained contiguously before dispatching its handler.
install(FlashExtension) - Method in class dev.relism.flash.extension.FlashApp
Registers a declarative extension contribution.
INSTANCE - Enum constant in enum class dev.relism.flash.models.EmptyHeaderView
 
instantiate(Class<?>) - Static method in class dev.relism.flash.extension.FlashRegistrar
 
instantiateWs(Class<?>) - Static method in class dev.relism.flash.extension.FlashRegistrar
 
INSUFFICIENT_STORAGE - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
internal(String) - Static method in exception class dev.relism.flash.exceptions.HttpException
 
INTERNAL_ERROR - Enum constant in enum class dev.relism.flash.http2.Http2ErrorCode
Unexpected internal condition on our side (e.g. an uncaught exception on the demux loop).
INTERNAL_ERROR - Static variable in exception class dev.relism.flash.http2.Http2Exception
 
INTERNAL_SERVER_ERROR - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
Intrusive queue linkage - Search tag in interface dev.relism.flash.http2.frame.WriteIntent
Section
isAck(int) - Static method in class dev.relism.flash.http2.frame.FrameFlags
 
isActive() - Method in class dev.relism.flash.http2.hpack.ContinuationAssembler
 
isChunked() - Method in class dev.relism.flash.models.Response
 
isComplete() - Method in class dev.relism.flash.http2.hpack.ContinuationAssembler
 
isEmpty() - Method in class dev.relism.flash.models.RequestBody
true if the body has zero bytes (Content-Length: 0 or no body).
isEndHeaders(int) - Static method in class dev.relism.flash.http2.frame.FrameFlags
 
isEndStream(int) - Static method in class dev.relism.flash.http2.frame.FrameFlags
 
isFile() - Method in class dev.relism.flash.api.multipart.Part
true if this part has a filename attribute (i.e. a file upload).
isFin() - Method in class dev.relism.flash.websocket.WebSocketFrame
 
isKeepAlive(Request) - Static method in class dev.relism.flash.http1.Http1KeepAlive
Whether the connection should remain open after this response.
isOpen() - Method in class dev.relism.flash.websocket.WebSocketSession
 
isPadded(int) - Static method in class dev.relism.flash.http2.frame.FrameFlags
 
isPushStreaming() - Method in class dev.relism.flash.models.Response
Internal distinction between producer-driven and InputStream-driven response bodies.
isSecure() - Method in class dev.relism.flash.models.Request
Whether this request arrived over TLS (HTTPS).
isSecure() - Method in class dev.relism.flash.websocket.WebSocketSession
Whether this connection is TLS (WSS).
isStopped() - Method in class dev.relism.flash.transport.ServerLifecycle
Whether the server has begun shutting down.
isStreaming() - Method in class dev.relism.flash.models.Response
 
isTChar(byte) - Static method in class dev.relism.flash.bytes.ByteScan
Whether b is a valid RFC 9110 §5.6.2 tchar (a legal header-name byte).
isValid(Http2StreamState, Http2StreamState.Event) - Static method in enum class dev.relism.flash.http2.stream.Http2StreamState
 
isWebSocketUpgrade(Request) - Static method in class dev.relism.flash.websocket.WebSocketUpgrade
Whether request is a WebSocket upgrade request: Upgrade: websocket and a shared token-list scanner in Http1KeepAlive is what fixed the whole-value compare bug this check used to have too).

J

join(String, String) - Static method in class dev.relism.flash.routing.PathUtils
Joins two path segments and ensures the result is sanitized.
JSON - Enum constant in enum class dev.relism.flash.http.ContentType
 

K

key() - Method in class dev.relism.flash.routing.MiddlewareNode
 
keystore(Path, String) - Static method in class dev.relism.flash.tls.TlsConfig
Builds an SSLContext from a PKCS12/JKS keystore — type is guessed from the file extension (.jks means JKS, anything else PKCS12).

L

Layer 1 — serialize outside the lock - Search tag in interface dev.relism.flash.http2.frame.WriteIntent
Section
LD_JSON - Enum constant in enum class dev.relism.flash.http.ContentType
 
length() - Method in class dev.relism.flash.bytes.ByteWriter
How many bytes have been written since the last ByteWriter.reset().
length() - Method in class dev.relism.flash.bytes.PooledSlice
 
length() - Method in class dev.relism.flash.bytes.SegmentedByteView
 
length() - Method in class dev.relism.flash.http2.frame.FrameHeader
Payload length in bytes, as declared by the frame header (0..2^24-1 before any limit check).
length() - Method in interface dev.relism.flash.http2.frame.WriteIntent
Number of bytes to write, starting at WriteIntent.offset().
length() - Method in class dev.relism.flash.http2.hpack.ContinuationAssembler
 
length() - Method in class dev.relism.flash.http2.message.Http2ResponseWriter
 
length() - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.MethodPathByteView
 
length() - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.RequestByteView
 
length() - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.SocketByteView
 
length() - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.StringByteView
 
LENGTH - Static variable in class dev.relism.flash.http2.hpack.HpackStaticTable
 
LENGTH_REQUIRED - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
Lifecycle - Search tag in class dev.relism.flash.models.RequestHandler
Section
Lifetime and thread-safety contract - Search tag in class dev.relism.flash.bytes.ByteWriter
Section
Lifetime and thread-safety contract - Search tag in class dev.relism.flash.transport.ConnectionScratch
Section
Lifetime contract - Search tag in class dev.relism.flash.bytes.PooledSlice
Section
Lifetime contract - Search tag in class dev.relism.flash.bytes.SlicePool
Section
Lifetime contract - Search tag in class dev.relism.flash.http2.frame.FrameHeader
Section
Lifetime contract - Search tag in interface dev.relism.flash.models.HeaderView
Section
Lifetime contract — read carefully - Search tag in class dev.relism.flash.models.Http1HeaderMap
Section
Listener(int) - Constructor for record class dev.relism.flash.extension.FlashConfiguration.Listener
 
Listener(int, TlsConfig) - Constructor for record class dev.relism.flash.extension.FlashConfiguration.Listener
 
Listener(int, String, TlsConfig) - Constructor for record class dev.relism.flash.extension.FlashConfiguration.Listener
Creates an instance of a Listener record class.
ListenerBinder - Class in dev.relism.flash.transport
lo(long) - Static method in class dev.relism.flash.bytes.Pairs
Extracts the lower 32 bits packed by Pairs.pack(int, int).
longAt(int) - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.RequestByteView
 
longAt(int) - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.SocketByteView
 
longAt(int) - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.StringByteView
 
Lost-wakeup avoidance - Search tag in class dev.relism.flash.http2.frame.Http2FrameWriter
Section

M

main(String[]) - Static method in class dev.relism.flash.Main
 
Main - Class in dev.relism.flash
 
Main() - Constructor for class dev.relism.flash.Main
 
MalformedRequestException - Exception Class in dev.relism.flash.exceptions
Thrown by the HTTP/1.1 parser when a request violates a protocol rule that must be rejected outright — most importantly the request-smuggling defenses of RFC 9112 §6.1 (see
MalformedRequestException(int, String) - Constructor for exception class dev.relism.flash.exceptions.MalformedRequestException
 
markDispatched() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
markResponseStarted() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
markResumeTask() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
materialize() - Method in class dev.relism.flash.api.multipart.Part
Materialises the body into a byte[].
MAX_BYTES_PER_CONNECTION - Static variable in class dev.relism.flash.http2.Http2Limits
Default wire-byte budget for one connection; zero disables the budget.
MAX_CHUNK_EXT_LENGTH - Static variable in class dev.relism.flash.http.Http1Limits
Maximum length, in bytes, of the chunk-extension section (the optional ;name=value data after a chunk size and before its CRLF, RFC 9112 §7.1.1).
MAX_CHUNK_SIZE - Static variable in class dev.relism.flash.http.Http1Limits
Maximum size, in bytes, of a single Transfer-Encoding: chunked chunk.
MAX_CHUNKS_PER_BODY - Static variable in class dev.relism.flash.http.Http1Limits
Maximum number of chunks accepted in a single request body.
MAX_CONCURRENT_STREAMS - Static variable in class dev.relism.flash.http2.Http2Limits
Maximum number of streams a single connection may have open concurrently.
MAX_CONCURRENT_STREAMS - Static variable in class dev.relism.flash.http2.Http2Settings
 
MAX_CONNECTION_LIFETIME_MS - Static variable in class dev.relism.flash.http2.Http2Limits
Default connection lifetime budget in milliseconds; zero disables the budget.
MAX_CONTENT_LENGTH - Static variable in class dev.relism.flash.http.Http1Limits
The largest Content-Length value accepted, in bytes.
MAX_CONTINUATION_FRAMES_PER_BLOCK - Static variable in class dev.relism.flash.http2.Http2Limits
Maximum number of CONTINUATION frames accepted for a single header block before the connection is torn down.
MAX_EMPTY_DATA_FRAMES_PER_STREAM - Static variable in class dev.relism.flash.http2.Http2Limits
Maximum number of zero-length DATA frames accepted per stream.
MAX_FRAME_SIZE - Static variable in class dev.relism.flash.http2.Http2Settings
 
MAX_FRAME_SIZE_LOCAL - Static variable in class dev.relism.flash.http2.Http2Limits
The largest frame payload we accept without the peer first raising it via our own SETTINGS_MAX_FRAME_SIZE.
MAX_GOAWAY_DEBUG_DATA_LENGTH - Static variable in class dev.relism.flash.http2.Http2Limits
Maximum diagnostic bytes included in an outbound GOAWAY frame.
MAX_HEADER_COUNT - Static variable in class dev.relism.flash.http.Http1Limits
Maximum number of header lines accepted in a single request.
MAX_HEADER_LIST_SIZE - Static variable in class dev.relism.flash.http2.Http2Limits
Maximum total size (name + value + 32 per RFC 7541 §4.1's accounting, summed over every header) of a decoded header list.
MAX_HEADER_LIST_SIZE - Static variable in class dev.relism.flash.http2.Http2Settings
 
MAX_HEADER_NAME_LENGTH - Static variable in class dev.relism.flash.http.Http1Limits
Maximum length, in bytes, of a single header field name.
MAX_HEADER_VALUE_LENGTH - Static variable in class dev.relism.flash.http.Http1Limits
Maximum length, in bytes, of a single header field value.
MAX_HPACK_STRING_LENGTH - Static variable in class dev.relism.flash.http2.Http2Limits
Maximum length, in decoded bytes, of a single HPACK string literal.
MAX_MULTIPART_BUFFERED_PART_SIZE - Static variable in class dev.relism.flash.http.Http1Limits
buffers eagerly into a byte[] — text fields (always buffered) and, during a full parts()/parts(String) scan, file bodies too.
MAX_MULTIPART_HEADER_LINE_LENGTH - Static variable in class dev.relism.flash.http.Http1Limits
header block.
MAX_MULTIPART_PART_HEADER_COUNT - Static variable in class dev.relism.flash.http.Http1Limits
Content-Type, …) accepted per multipart part.
MAX_MULTIPART_PARTS - Static variable in class dev.relism.flash.http.Http1Limits
multipart/form-data body.
MAX_OUTSTANDING_LOCAL_SETTINGS - Static variable in class dev.relism.flash.http2.Http2Limits
Maximum number of locally-sent SETTINGS frames awaiting acknowledgement.
MAX_PING_QUEUE_DEPTH - Static variable in class dev.relism.flash.http2.Http2Limits
Maximum number of outstanding (unanswered) PING responses queued for the writer.
MAX_PINGS_PER_INTERVAL - Static variable in class dev.relism.flash.http2.Http2Limits
Maximum non-acknowledgement PING frames accepted within one abuse-rate interval.
MAX_REQUEST_BODY_SIZE - Static variable in class dev.relism.flash.http2.Http2Limits
Hard limit for request body bytes accepted on one stream.
MAX_REQUEST_LINE_LENGTH - Static variable in class dev.relism.flash.http.Http1Limits
Maximum length, in bytes, of the request line (METHOD SP target SP version).
MAX_RESET_STREAMS_PER_INTERVAL - Static variable in class dev.relism.flash.http2.Http2Limits
Maximum number of RST_STREAM frames accepted from the peer within Http2Limits.RESET_RATE_INTERVAL_MS.
MAX_RESPONSE_HEADER_BYTES - Static variable in class dev.relism.flash.http.Http1Limits
Maximum combined size, in bytes, of every response header's name + value bytes (Response.header(...)'s growable headerRegion).
MAX_RESPONSE_HEADER_COUNT - Static variable in class dev.relism.flash.http.Http1Limits
Maximum number of Response.header(...) calls (any overload) accepted on a single response.
MAX_SETTINGS_ACK_QUEUE_DEPTH - Static variable in class dev.relism.flash.http2.Http2Limits
Maximum number of SETTINGS acknowledgements waiting behind a blocked socket writer.
MAX_SETTINGS_ENTRIES_PER_FRAME - Static variable in class dev.relism.flash.http2.Http2Limits
Maximum number of SETTINGS parameter entries accepted in a single SETTINGS frame.
MAX_SETTINGS_PER_INTERVAL - Static variable in class dev.relism.flash.http2.Http2Limits
Maximum SETTINGS frames accepted within one abuse-rate interval.
MAX_STREAMS_CREATED_PER_INTERVAL - Static variable in class dev.relism.flash.http2.Http2Limits
Maximum number of new streams accepted from the peer within Http2Limits.RESET_RATE_INTERVAL_MS.
MAX_STREAMS_PER_CONNECTION - Static variable in class dev.relism.flash.http2.Http2Limits
Default total-stream budget for one connection; zero disables the budget.
MAX_TRAILER_COUNT - Static variable in class dev.relism.flash.http.Http1Limits
Maximum number of trailer header lines accepted after the final chunk of a chunked body (RFC 9112 §7.1.2).
MAX_USELESS_FRAMES_PER_INTERVAL - Static variable in class dev.relism.flash.http2.Http2Limits
Aggregate bound for frames that consume parsing work without carrying application data: PRIORITY, WINDOW_UPDATE, empty DATA and unknown extension frames.
maxConcurrentStreams() - Method in class dev.relism.flash.http2.Http2Settings
 
maxFrameSize() - Method in class dev.relism.flash.http2.Http2Settings
 
maxHeaderListSize() - Method in class dev.relism.flash.http2.Http2Settings
 
maximumSize() - Method in class dev.relism.flash.http2.hpack.HpackDynamicTable
 
maxKnown() - Static method in enum class dev.relism.flash.http2.frame.FrameType
The highest type code this enum recognises — anything above must be ignored per RFC 9113 §4.1.
maxLength() - Method in enum class dev.relism.flash.http2.frame.FrameType
 
method() - Method in record class dev.relism.flash.extension.RouteEvent
Returns the value of the method record component.
method() - Method in class dev.relism.flash.http2.message.PseudoHeaders
 
method() - Method in class dev.relism.flash.models.Request
HTTP method (GET, POST, …).
method() - Element in annotation interface dev.relism.flash.routing.Route
 
METHOD_NOT_ALLOWED - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
MethodPathByteView() - Constructor for class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.MethodPathByteView
 
methods() - Method in class dev.relism.flash.Flash.Middlewares.CorsConfig
 
methods(String...) - Method in class dev.relism.flash.Flash.Middlewares.CorsConfig
 
Middleware - Interface in dev.relism.flash.routing
Stateless interceptor applied around a RequestHandler.
middlewareChain() - Method in record class dev.relism.flash.extension.RouteEvent
Returns the value of the middlewareChain record component.
Middleware chain - Search tag in record class dev.relism.flash.extension.RouteEvent
Section
MiddlewareGraph - Class in dev.relism.flash.routing
Boot-only DAG compiler for a route's middleware nodes.
MiddlewareKey - Record Class in dev.relism.flash.routing
Stable boot-time identity of a middleware node.
MiddlewareKey(String) - Constructor for record class dev.relism.flash.routing.MiddlewareKey
Creates an instance of a MiddlewareKey record class.
MiddlewareNode - Class in dev.relism.flash.routing
A named middleware contribution and its ordering constraints.
middlewares - Variable in class dev.relism.flash.Flash.Commons
 
Middlewares() - Constructor for class dev.relism.flash.Flash.Middlewares
 
minLength() - Method in enum class dev.relism.flash.http2.frame.FrameType
 
MISDIRECTED_REQUEST - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
mount(String, Consumer<FlashScope>) - Method in class dev.relism.flash.extension.FlashApp
Mounts a scoped group of routes under namespace.
MOVED_PERMANENTLY - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
mpscNext() - Method in interface dev.relism.flash.http2.frame.WriteIntent
Intrusive MPSC queue linkage — see IntrusiveMpscQueue.
mpscNext() - Method in class dev.relism.flash.http2.message.Http2ResponseWriter
 
MSGPACK - Enum constant in enum class dev.relism.flash.http.ContentType
 
Multipart - Class in dev.relism.flash.api.multipart
Lazy streaming multipart/form-data parser.
MULTIPART_FORM - Enum constant in enum class dev.relism.flash.http.ContentType
 
Multiple frames, one buffer - Search tag in class dev.relism.flash.http2.frame.FrameWriteBuffer
Section
MutableHeaderMap - Class in dev.relism.flash.models
Reusable owned-byte header collection for sections parsed outside the request head buffer.
MutableHeaderMap() - Constructor for class dev.relism.flash.models.MutableHeaderMap
 

N

name() - Method in class dev.relism.flash.api.multipart.Part
Field or file name from Content-Disposition: form-data; name="...".
name(int) - Static method in class dev.relism.flash.http2.hpack.HpackStaticTable
 
namespace() - Method in record class dev.relism.flash.extension.RouteEvent
Returns the value of the namespace record component.
NDJSON - Enum constant in enum class dev.relism.flash.http.ContentType
 
negotiate(Socket, BufferedByteSource) - Static method in class dev.relism.flash.transport.ProtocolNegotiator
Uses the completed TLS ALPN result for secure sockets and a non-consuming prior-knowledge preface probe for plaintext sockets.
NegotiatedProtocol - Enum Class in dev.relism.flash.transport
negotiatesH2() - Method in class dev.relism.flash.tls.TlsConfig
Whether this listener's configured ALPN protocol list (TlsConfig.applicationProtocols) includes "h2".
NETWORK_AUTHENTICATION_REQUIRED - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
neverIndexed(int) - Method in class dev.relism.flash.http2.hpack.HpackHeaderBlock
 
newScratch() - Method in class dev.relism.flash.routing.AbstractRouter
Creates a fresh per-connection scratch object for AbstractRouter.route(dev.relism.flash.models.Request, java.lang.Object), or null if this router implementation keeps no reusable per-connection state.
newScratch() - Method in class dev.relism.flash.routing.AbstractWsRouter
Creates a fresh per-connection scratch object for AbstractWsRouter.route(dev.relism.flash.models.Request, java.lang.Object), or null if this router keeps no reusable per-connection state — see AbstractRouter.newScratch() for router.
newScratch() - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathRouterImpl
 
newScratch() - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathWsRouterImpl
 
NO_CONTENT - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
NO_ERROR - Enum constant in enum class dev.relism.flash.http2.Http2ErrorCode
Graceful shutdown or successful completion; not an error.
NONE - Enum constant in enum class dev.relism.flash.http.ContentType
 
NONE - Enum constant in enum class dev.relism.flash.tls.ClientAuth
No client certificate requested.
NOT_ACCEPTABLE - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
NOT_FOUND - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
NOT_IMPLEMENTED - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
NOT_MODIFIED - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
notFound(String) - Static method in exception class dev.relism.flash.exceptions.HttpException
 
notFoundHandler - Variable in class dev.relism.flash.routing.AbstractRouter
 

O

of(Http2ErrorCode, String) - Static method in exception class dev.relism.flash.http2.Http2Exception
Builds a connection error carrying a caller-supplied debug message.
of(Request) - Static method in class dev.relism.flash.api.multipart.Multipart
Creates a parser for request.
of(Middleware...) - Static method in interface dev.relism.flash.routing.Middleware
Composes an ordered chain of middlewares into a single Middleware.
of(MiddlewareKey, Middleware) - Static method in class dev.relism.flash.routing.MiddlewareNode
 
of(Class<?>) - Static method in class dev.relism.flash.routing.Routes
Effective route for cls, or null.
of(String) - Static method in record class dev.relism.flash.routing.MiddlewareKey
 
ofContext(SSLContext) - Static method in class dev.relism.flash.tls.TlsConfig
Escape hatch — see class Javadoc.
offer(int, byte[], int, int, int) - Method in class dev.relism.flash.http2.message.Http2RequestBody
 
offset() - Method in interface dev.relism.flash.bytes.ArrayBackedByteView
Offset of this view's first byte within ArrayBackedByteView.array().
offset() - Method in class dev.relism.flash.bytes.PooledSlice
 
offset() - Method in interface dev.relism.flash.http2.frame.WriteIntent
Offset of the first byte to write, within WriteIntent.buffer().
offset() - Method in class dev.relism.flash.http2.message.Http2ResponseWriter
 
offset() - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.RequestByteView
 
offset() - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.SocketByteView
 
offset() - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.StringByteView
 
OK - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
onClose(WebSocketSession, int) - Method in interface dev.relism.flash.websocket.WebSocketHandler
 
onClose(Runnable) - Method in class dev.relism.flash.extension.FlashContext
Registers cleanup to run when the app stops, after in-flight requests have drained.
onError(WebSocketSession, Throwable) - Method in interface dev.relism.flash.websocket.WebSocketHandler
 
onException(AbstractRouter.ExceptionHandler) - Method in class dev.relism.flash.extension.FlashApp
 
onException(AbstractRouter.ExceptionHandler) - Method in class dev.relism.flash.routing.AbstractRouter
 
onInit() - Method in class dev.relism.flash.models.RequestHandler
Override to cache services at boot time.
onInit() - Method in class dev.relism.flash.websocket.WebSocketEndpoint
Override to resolve and cache services before first connection.
onMessage(WebSocketSession, WebSocketFrame) - Method in interface dev.relism.flash.websocket.WebSocketHandler
 
onNotFound(SimpleHandler.FunctionalHandler) - Method in class dev.relism.flash.extension.FlashApp
 
onNotFound(SimpleHandler.FunctionalHandler) - Method in class dev.relism.flash.routing.AbstractRouter
 
onOpen(WebSocketSession) - Method in interface dev.relism.flash.websocket.WebSocketHandler
 
onReady(Runnable) - Method in class dev.relism.flash.extension.FlashContext
Registers work materialised after all services are resolved.
onRoute(RouteEvent) - Method in interface dev.relism.flash.extension.RouteListener
Called once for every registered route, in registration order.
OP_BINARY - Static variable in class dev.relism.flash.websocket.WebSocketFrame
 
OP_CLOSE - Static variable in class dev.relism.flash.websocket.WebSocketFrame
 
OP_CONTINUATION - Static variable in class dev.relism.flash.websocket.WebSocketFrame
 
OP_PING - Static variable in class dev.relism.flash.websocket.WebSocketFrame
 
OP_PONG - Static variable in class dev.relism.flash.websocket.WebSocketFrame
 
OP_TEXT - Static variable in class dev.relism.flash.websocket.WebSocketFrame
 
opcode() - Method in class dev.relism.flash.websocket.WebSocketFrame
 
OPEN - Enum constant in enum class dev.relism.flash.http2.stream.Http2StreamState
 
optional(Class<T>) - Method in class dev.relism.flash.extension.FlashContext
 
optional(Class<T>) - Method in class dev.relism.flash.models.RequestHandler
Looks up an optional service from the FlashContext.
OPTIONAL - Enum constant in enum class dev.relism.flash.tls.ClientAuth
Client certificate requested; handshake still succeeds if the client presents none.
options(String, SimpleHandler.FunctionalHandler, Middleware...) - Method in class dev.relism.flash.extension.FlashRegistrar
 
OPTIONS - Enum constant in enum class dev.relism.flash.http.HttpMethod
 
OPTIONS - Annotation Interface in dev.relism.flash.routing
Shorthand for @Route(method = HttpMethod.OPTIONS, path = "…").
optionsWith(String, SimpleHandler.FunctionalHandler, MiddlewareNode...) - Method in class dev.relism.flash.extension.FlashRegistrar
 
order(String, List<MiddlewareNode>) - Static method in class dev.relism.flash.routing.MiddlewareGraph
 
origin() - Method in class dev.relism.flash.Flash.Middlewares.CorsConfig
 
origin() - Method in class dev.relism.flash.models.Request
The scheme and authority the client addressed, e.g.
origin(String) - Method in class dev.relism.flash.Flash.Middlewares.CorsConfig
 
out() - Method in record class dev.relism.flash.transport.ConnectionContext
Returns the value of the out record component.
Overflow safety (HPACK bomb) - Search tag in class dev.relism.flash.http2.hpack.HpackIntegers
Section
override(Class<T>, T) - Method in class dev.relism.flash.extension.FlashContext
Replaces the binding for type, whether or not one already exists.

P

pack(int, int) - Static method in class dev.relism.flash.bytes.Pairs
Packs two ints into one long: hi in the upper 32 bits, lo in the lower 32.
Package placement - Search tag in class dev.relism.flash.models.Http1HeaderMap
Section
PackageScanner - Class in dev.relism.flash.extension
PADDED - Static variable in class dev.relism.flash.http2.frame.FrameFlags
DATA/HEADERS/PUSH_PROMISE: a pad-length byte and trailing padding are present — see Padding.
Padding - Class in dev.relism.flash.http2.frame
RFC 9113 §6.1 (DATA) / §6.2 (HEADERS) padding.
Padding (RFC 7541 §5.2) - Search tag in class dev.relism.flash.http2.hpack.Huffman
Section
Pairs - Class in dev.relism.flash.bytes
The allocation-free idiom for returning two ints from a method without an object: pack both into one long, unpack at the call site.
param(String) - Method in class dev.relism.flash.models.Request
Returns the path parameter named name, or null.
paramInt(Request, String) - Static method in class dev.relism.flash.models.RequestHelper
Returns the path parameter as an int.
paramLong(Request, String) - Static method in class dev.relism.flash.models.RequestHelper
Returns the path parameter as a long.
paramRequired(Request, String) - Static method in class dev.relism.flash.models.RequestHelper
Returns the path parameter as a String.
parse(BufferedByteSource) - Method in class dev.relism.flash.RequestParser
Parses the next HTTP request from in.
PARSE_INVALID - Static variable in class dev.relism.flash.bytes.ByteScan
Sentinel returned by ByteScan.parseDecimalStrict(byte[], int, int) on any malformed or out-of-range input.
parseDecimalStrict(byte[], int, int) - Static method in class dev.relism.flash.bytes.ByteScan
Strict, overflow-safe unsigned decimal parse of buf[start, end): rejects an empty range, any non-'0'..'9' byte, more than 19 digits, and arithmetic overflow past Long.MAX_VALUE.
parseHexStrict(byte[], int, int, int) - Static method in class dev.relism.flash.bytes.ByteScan
Parses up to maxDigits hex digits (ASCII, either case) from buf[start, end) as an unsigned value.
Part - Class in dev.relism.flash.api.multipart
One part of a multipart/form-data body produced by Multipart.
PARTIAL_CONTENT - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
parts() - Method in class dev.relism.flash.api.multipart.Multipart
Returns all parts in declaration order.
parts(String) - Method in class dev.relism.flash.api.multipart.Multipart
Returns all parts named name in declaration order.
patch(String, SimpleHandler.FunctionalHandler, Middleware...) - Method in class dev.relism.flash.extension.FlashRegistrar
 
PATCH - Enum constant in enum class dev.relism.flash.http.HttpMethod
 
PATCH - Annotation Interface in dev.relism.flash.routing
Shorthand for @Route(method = HttpMethod.PATCH, path = "…").
patchWith(String, SimpleHandler.FunctionalHandler, MiddlewareNode...) - Method in class dev.relism.flash.extension.FlashRegistrar
 
path() - Method in record class dev.relism.flash.extension.RouteEvent
Returns the value of the path record component.
path() - Method in class dev.relism.flash.http2.message.PseudoHeaders
 
path() - Method in class dev.relism.flash.models.Request
Request path decoded as UTF-8.
path() - Element in annotation interface dev.relism.flash.routing.Route
 
PathParams - Class in dev.relism.flash.models
Path parameters captured during routing, stored as byte offsets into the path view.
PathParams(ByteView, String[], int[], int[]) - Constructor for class dev.relism.flash.models.PathParams
 
PathParams(String[], int[], int[]) - Constructor for class dev.relism.flash.models.PathParams
Builds an instance meant only for PathParams.reset(dev.relism.fpr.core.ByteView, int): no source yet, and count starts at 0 until the first PathParams.reset(dev.relism.fpr.core.ByteView, int) call.
PathUtils - Class in dev.relism.flash.routing
 
PathUtils() - Constructor for class dev.relism.flash.routing.PathUtils
 
PAYLOAD_TOO_LARGE - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
payloadLength() - Method in class dev.relism.flash.websocket.WebSocketFrame
 
payloadOffset() - Method in class dev.relism.flash.http2.frame.FrameHeader
Offset of the first payload byte within FrameHeader.buffer().
payloadOffset() - Method in class dev.relism.flash.websocket.WebSocketFrame
 
PDF - Enum constant in enum class dev.relism.flash.http.ContentType
 
peek(byte[], int, int) - Method in class dev.relism.flash.transport.BufferedByteSource
Ensures up to len bytes are buffered and copies them into dst without advancing the read position — a subsequent read() still returns the same bytes.
peerErrorCode() - Method in class dev.relism.flash.http2.Http2Connection
 
peerLastStreamId() - Method in class dev.relism.flash.http2.Http2Connection
 
peerSettings() - Method in class dev.relism.flash.http2.Http2Connection
 
performHandshake(OutputStream, Request, ConnectionScratch) - Static method in class dev.relism.flash.websocket.WebSocketUpgrade
Writes and flushes the 101 Switching Protocols handshake response.
PERMANENT_REDIRECT - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
PING - Enum constant in enum class dev.relism.flash.http2.frame.FrameType
RFC 9113 §6.7.
PooledSlice - Class in dev.relism.flash.bytes
per-call new ByteView() { ... } anonymous-class allocation that used to live in Http1HeaderMap.view, QueryParams.view, and PathParams.view: instead of allocating a fresh view object (plus its capturing instance) on every call, a small SlicePool of these hands out an existing instance, repositioned in place.
PooledSlice() - Constructor for class dev.relism.flash.bytes.PooledSlice
 
port() - Method in class dev.relism.flash.extension.FlashApp
Port of the first bound listener.
port() - Method in record class dev.relism.flash.extension.FlashConfiguration.Listener
Returns the value of the port record component.
port() - Method in interface dev.relism.flash.ServerHandle
Port of the first bound listener.
port() - Method in class dev.relism.flash.transport.ServerLifecycle
 
ports() - Method in class dev.relism.flash.extension.FlashApp
Ports of every bound listener, in configuration order.
ports() - Method in interface dev.relism.flash.ServerHandle
Ports of every bound listener, in configuration order.
ports() - Method in class dev.relism.flash.transport.ServerLifecycle
 
post(String, SimpleHandler.FunctionalHandler, Middleware...) - Method in class dev.relism.flash.extension.FlashRegistrar
 
POST - Enum constant in enum class dev.relism.flash.http.HttpMethod
 
POST - Annotation Interface in dev.relism.flash.routing
Shorthand for @Route(method = HttpMethod.POST, path = "…").
postWith(String, SimpleHandler.FunctionalHandler, MiddlewareNode...) - Method in class dev.relism.flash.extension.FlashRegistrar
 
Preallocated singletons - Search tag in exception class dev.relism.flash.http2.Http2Exception
Section
PRECONDITION_FAILED - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
PreEncodedHeader - Class in dev.relism.flash.models
A header name/value pair pre-encoded once (typically at boot, as a static final constant) and reused across many responses via Response.header(PreEncodedHeader).
PreEncodedHeader(String, String) - Constructor for class dev.relism.flash.models.PreEncodedHeader
 
prepare(Response, int, boolean, boolean, boolean, boolean, boolean, int, long, int) - Method in class dev.relism.flash.http2.message.Http2ResponseWriter
Prepares a non-streaming response.
prepareRequestBody(Http2FlowController, boolean) - Method in class dev.relism.flash.http2.stream.Http2Stream
 
prependOnce(byte[], int, int) - Method in class dev.relism.flash.transport.BufferedByteSource
Queues len bytes, starting at off in the caller-owned array src, to be served by the next reads before anything else — zero allocation and zero copy, since src is referenced directly, not duplicated.
PRIORITY - Enum constant in enum class dev.relism.flash.http2.frame.FrameType
 
PRIORITY - Static variable in class dev.relism.flash.http2.frame.FrameFlags
HEADERS: deprecated stream-dependency/weight fields are present (RFC 9113 §5.3.2 — parsed and discarded).
process(Class<? extends RequestHandler>) - Method in interface dev.relism.flash.extension.AnnotationProcessor
 
PROTOCOL_ERROR - Enum constant in enum class dev.relism.flash.http2.Http2ErrorCode
The peer violated the protocol in a way not covered by a more specific code.
PROTOCOL_ERROR - Static variable in exception class dev.relism.flash.http2.Http2Exception
 
protocol is optional - Search tag in class dev.relism.flash.models.RequestLine
Section
ProtocolNegotiator - Class in dev.relism.flash.transport
Detects HTTP/1.1 or HTTP/2 once, before the connection parser is selected.
provide(Class<T>, T) - Method in class dev.relism.flash.extension.FlashContext
Binds an already-created singleton.
PseudoHeaders - Class in dev.relism.flash.http2.message
Validates request pseudo-headers and HTTP/2 field rules while extracting request metadata.
PseudoHeaders() - Constructor for class dev.relism.flash.http2.message.PseudoHeaders
 
purge(String, SimpleHandler.FunctionalHandler, Middleware...) - Method in class dev.relism.flash.extension.FlashRegistrar
 
PURGE - Enum constant in enum class dev.relism.flash.http.HttpMethod
 
PURGE - Annotation Interface in dev.relism.flash.routing
Shorthand for @Route(method = HttpMethod.PURGE, path = "…").
purgeWith(String, SimpleHandler.FunctionalHandler, MiddlewareNode...) - Method in class dev.relism.flash.extension.FlashRegistrar
 
PUSH_PROMISE - Enum constant in enum class dev.relism.flash.http2.frame.FrameType
RFC 9113 §6.6.
pushEnabled() - Method in class dev.relism.flash.http2.Http2Settings
 
put(Http2Stream) - Method in class dev.relism.flash.http2.stream.Http2StreamTable
 
put(String, SimpleHandler.FunctionalHandler, Middleware...) - Method in class dev.relism.flash.extension.FlashRegistrar
 
PUT - Enum constant in enum class dev.relism.flash.http.HttpMethod
 
PUT - Annotation Interface in dev.relism.flash.routing
Shorthand for @Route(method = HttpMethod.PUT, path = "…").
putWith(String, SimpleHandler.FunctionalHandler, MiddlewareNode...) - Method in class dev.relism.flash.extension.FlashRegistrar
 

Q

queries(String) - Method in class dev.relism.flash.models.Request
Returns all query parameters named name in declaration order.
query(String) - Method in class dev.relism.flash.models.Request
Returns the first query parameter named name, or null.
query(String, SimpleHandler.FunctionalHandler, Middleware...) - Method in class dev.relism.flash.extension.FlashRegistrar
 
QUERY - Enum constant in enum class dev.relism.flash.http.HttpMethod
 
QUERY - Annotation Interface in dev.relism.flash.routing
Shorthand for @Route(method = HttpMethod.QUERY, path = "…").
queryInt(Request, String, int, int) - Static method in class dev.relism.flash.models.RequestHelper
Returns the query param as an int, or defaultValue if absent.
queryLong(Request, String, long) - Static method in class dev.relism.flash.models.RequestHelper
Returns the query param as a long, or defaultValue if absent.
queryOptional(Request, String) - Static method in class dev.relism.flash.models.RequestHelper
Returns the query param, or null if absent.
QueryParams - Class in dev.relism.flash.models
Lazy query parameter access (?key=value&...).
QueryParams(ByteView) - Constructor for class dev.relism.flash.models.QueryParams
 
queryRequired(Request, String) - Static method in class dev.relism.flash.models.RequestHelper
Returns the query param value.
queryWith(String, SimpleHandler.FunctionalHandler, MiddlewareNode...) - Method in class dev.relism.flash.extension.FlashRegistrar
 

R

RadixPathRouterImpl - Class in dev.relism.flash.routing.routers.radix
 
RadixPathRouterImpl() - Constructor for class dev.relism.flash.routing.routers.radix.RadixPathRouterImpl
 
RANGE_NOT_SATISFIABLE - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
rawOut() - Method in record class dev.relism.flash.transport.ConnectionContext
Returns the value of the rawOut record component.
read() - Method in class dev.relism.flash.http2.message.Http2RequestBody
 
read() - Method in class dev.relism.flash.transport.BufferedByteSource
 
read(byte[], int, int) - Method in class dev.relism.flash.http2.message.Http2RequestBody
 
read(byte[], int, int) - Method in class dev.relism.flash.transport.BufferedByteSource
 
readFrame() - Method in class dev.relism.flash.http2.frame.Http2FrameReader
Reads the next frame's header and payload, bounded by Http2Limits.FRAME_READ_TIMEOUT_MS, and returns the reused FrameHeader flyweight positioned over it — or null on a clean EOF between frames (the peer closed the connection while nothing was in flight; not an error).
readFrame(long) - Method in class dev.relism.flash.http2.frame.Http2FrameReader
Reads one frame using a caller-supplied upper bound for this frame's absolute deadline.
readFrame(WebSocketFrame) - Method in class dev.relism.flash.websocket.WebSocketSession
Reads the next complete message, reassembling continuation frames and delivering control frames (CLOSE/PING/PONG) as soon as they arrive — RFC 6455 §5.4 explicitly permits a control frame to interleave with a fragmented data message, and this must not disturb the data message's in-progress reassembly.
reason() - Method in enum class dev.relism.flash.http.HttpStatus
Reason phrase (e.g.
reasonForCode(int) - Static method in enum class dev.relism.flash.http.HttpStatus
Returns reason phrase for the given code, or null if unknown.
receiveBytes(int) - Method in class dev.relism.flash.http2.stream.Http2Stream
 
receiveConnectionBytes(int) - Method in class dev.relism.flash.http2.stream.Http2FlowController
 
receiveData(byte[], int, int, int) - Method in class dev.relism.flash.http2.stream.Http2Stream
 
receiveStreamBytes(Http2Stream, int) - Method in class dev.relism.flash.http2.stream.Http2FlowController
 
RECV_DATA - Enum constant in enum class dev.relism.flash.http2.stream.Http2StreamState.Event
 
RECV_DATA_ES - Enum constant in enum class dev.relism.flash.http2.stream.Http2StreamState.Event
 
RECV_HEADERS - Enum constant in enum class dev.relism.flash.http2.stream.Http2StreamState.Event
 
RECV_HEADERS_ES - Enum constant in enum class dev.relism.flash.http2.stream.Http2StreamState.Event
 
RECV_RST - Enum constant in enum class dev.relism.flash.http2.stream.Http2StreamState.Event
 
recycle() - Method in class dev.relism.flash.models.Request
Marks this instance unsafe for further use.
recycle() - Method in class dev.relism.flash.models.Response
Marks this instance unsafe for further use — see Request.recycle() for the full rationale, identical here.
redirect(HttpStatus, String) - Method in class dev.relism.flash.models.Response
Redirect with an explicit 3xx status.
redirect(String) - Method in class dev.relism.flash.models.Response
302 Found redirect.
refundSend(Http2Stream, int) - Method in class dev.relism.flash.http2.stream.Http2FlowController
 
REFUSED_STREAM - Enum constant in enum class dev.relism.flash.http2.Http2ErrorCode
The stream was refused before any processing; safe for the client to retry elsewhere.
register(HttpMethod, String, WebSocketHandler) - Method in class dev.relism.flash.routing.AbstractWsRouter
 
REJECT_400 - Static variable in class dev.relism.flash.websocket.WebSocketUpgrade
 
RELAY_BUFFER_SIZE - Static variable in class dev.relism.flash.transport.ConnectionScratch
Matches the relay-buffer size the ThreadLocal it replaces used.
relayBuffer - Variable in class dev.relism.flash.transport.ConnectionScratch
Scratch for relaying a streaming or chunked response body without allocating per response.
release(Http2Stream) - Method in class dev.relism.flash.http2.stream.Http2StreamTable
 
release(ConnectionScratch) - Method in class dev.relism.flash.transport.ScratchPool
Returns scratch to the pool for reuse, unless the pool is already at its bound — in which case it is simply dropped, for the garbage collector, so an unusually large burst of connections cannot grow this cache without limit.
rememberReset(int) - Method in class dev.relism.flash.http2.stream.Http2StreamTable
 
remoteAddress() - Method in class dev.relism.flash.models.Request
Returns the remote socket address of the connected client, or null for test-constructed requests.
remoteAddress() - Method in record class dev.relism.flash.transport.ConnectionContext
Returns the value of the remoteAddress record component.
remove(int) - Method in class dev.relism.flash.http2.stream.Http2StreamTable
 
removeIfSame(Http2Stream, int) - Method in class dev.relism.flash.http2.stream.Http2StreamTable
Removes a stream only when both its id and pooled-object identity still match.
render(String...) - Method in class dev.relism.flash.template.ByteTemplate
Render with alternating key-value String pairs: k1, v1, k2, v2, … Unmatched slots are rendered as empty.
renderException(Request, Exception) - Static method in class dev.relism.flash.template.ErrorPages
 
renderInto(byte[], int, String...) - Method in class dev.relism.flash.template.ByteTemplate
Renders into buffer starting at offset, making no allocation beyond the per-pair UTF-8 conversion of kvPairs' values.
renderNotFound(Request) - Static method in class dev.relism.flash.template.ErrorPages
 
request() - Method in class dev.relism.flash.websocket.WebSocketSession
The request that upgraded this connection, or null — see the 4-arg constructor.
Request - Class in dev.relism.flash.models
View of an incoming HTTP/1.1 request.
Request() - Constructor for class dev.relism.flash.models.Request
Pooled instance, populated later via Request.reset(dev.relism.flash.models.RequestLine, dev.relism.flash.models.RequestBody, java.net.InetSocketAddress, javax.net.ssl.SSLSocket).
Request(RequestLine, byte[]) - Constructor for class dev.relism.flash.models.Request
Test / manual constructor — remoteAddress() returns null, isSecure() is false.
REQUEST_HEADER_FIELDS_TOO_LARGE - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
RequestBody - Class in dev.relism.flash.models
Accessor for the HTTP request body.
RequestBody() - Constructor for class dev.relism.flash.models.RequestBody
RequestByteView(byte[], int, int) - Constructor for class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.RequestByteView
 
RequestHandler - Class in dev.relism.flash.models
Base class for class-based route handlers.
RequestHandler() - Constructor for class dev.relism.flash.models.RequestHandler
 
RequestHelper - Class in dev.relism.flash.models
Typed accessors for request parameters.
RequestLine - Class in dev.relism.flash.models
The parsed request line plus headers: method, path, optional query, optional protocol token, and the header container.
RequestLine() - Constructor for class dev.relism.flash.models.RequestLine
RequestLine(HttpMethod, ByteView, ByteView, ByteView, HeaderView) - Constructor for class dev.relism.flash.models.RequestLine
RequestParser - Class in dev.relism.flash
One instance per connection.
RequestParser() - Constructor for class dev.relism.flash.RequestParser
 
RequestParser(int) - Constructor for class dev.relism.flash.RequestParser
 
RequestParser(int, InetSocketAddress) - Constructor for class dev.relism.flash.RequestParser
 
RequestParser(int, InetSocketAddress, SSLSocket) - Constructor for class dev.relism.flash.RequestParser
sslSocket is null for a plain connection — see Request.isSecure().
require(Class<T>) - Method in class dev.relism.flash.extension.FlashContext
 
require(Class<T>) - Method in class dev.relism.flash.models.RequestHandler
Retrieves a required service from the FlashContext.
require(Class<T>) - Method in class dev.relism.flash.websocket.WebSocketEndpoint
 
REQUIRE - Enum constant in enum class dev.relism.flash.tls.ClientAuth
Handshake fails unless the client presents a certificate trusted by this listener.
REQUIRED - Enum constant in enum class dev.relism.flash.http2.frame.FrameType.StreamIdRule
 
Reserved bit and unknown types - Search tag in class dev.relism.flash.http2.frame.FrameHeader
Section
reserveSend(Http2Stream, int) - Method in class dev.relism.flash.http2.stream.Http2FlowController
 
reset() - Method in class dev.relism.flash.bytes.ByteWriter
Repositions this writer to the start of its buffer, ready for the next message.
reset() - Method in class dev.relism.flash.http2.hpack.ContinuationAssembler
 
reset() - Method in class dev.relism.flash.http2.hpack.HpackHeaderBlock
 
reset() - Method in class dev.relism.flash.models.MutableHeaderMap
 
reset(byte[][], int[], int[], int) - Method in class dev.relism.flash.bytes.SegmentedByteView
Repositions this view over segments[0..count), where segment i contributes bytes segments[i][offsets[i], offsets[i] + lengths[i]).
reset(byte[], int, int) - Method in class dev.relism.flash.bytes.PooledSlice
Repositions this slice over array[offset, offset + length).
reset(byte[], int, int) - Method in class dev.relism.flash.models.Http1HeaderMap
 
reset(byte[], int, int) - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.RequestByteView
Repositions this instance over new bounds.
reset(byte[], ByteView) - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.MethodPathByteView
 
reset(int, ContentType) - Method in class dev.relism.flash.models.Response
Repositions this instance for a new request/response cycle — clears the body, stream, status, content type, and every header recorded by the previous cycle.
reset(HttpMethod, ByteView, ByteView, ByteView, HeaderView) - Method in class dev.relism.flash.models.RequestLine
Repositions this instance over a new request.
reset(HpackHeaderBlock) - Method in class dev.relism.flash.http2.message.Http2HeaderMap
 
reset(HpackHeaderBlock, PseudoHeaders) - Method in class dev.relism.flash.http2.message.Http2HeaderMap
 
reset(ByteView, int) - Method in class dev.relism.flash.models.PathParams
Repositions this instance over a new request: count (which may be less than names.length — see the class Javadoc) params are now valid, read out of the same backing arrays the constructor was given, against the new source.
reset(InputStream, long, byte[], int, int) - Method in class dev.relism.flash.models.RequestBody
Repositions this instance over a new request.
RESET_RATE_INTERVAL_MS - Static variable in class dev.relism.flash.http2.Http2Limits
The rolling window (milliseconds) over which Http2Limits.MAX_RESET_STREAMS_PER_INTERVAL is measured.
resetEmptyDataFrames() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
resetResponse() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
Response - Class in dev.relism.flash.models
HTTP response.
Response(int, byte[], ContentType) - Constructor for class dev.relism.flash.models.Response
 
Response(int, ContentType) - Constructor for class dev.relism.flash.models.Response
 
Response(int, String, ContentType) - Constructor for class dev.relism.flash.models.Response
 
RESPONSE_HEAD_INITIAL_SIZE - Static variable in class dev.relism.flash.transport.ConnectionScratch
Initial capacity for ConnectionScratch.responseHead; grows on demand like any ByteWriter.
responseBatchCompleted(Http2Stream) - Method in interface dev.relism.flash.http2.stream.Http2Stream.ResponseSink
 
responseHead - Variable in class dev.relism.flash.transport.ConnectionScratch
(status line, Content-Type, Date, custom headers, Content-Length/ Connection, and — for small fixed bodies — the body itself) into before issuing a single bulk write(), instead of ~10 small OutputStream.write calls.
responseInFlight() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
ResponseSerializer - Class in dev.relism.flash.models
The protocol-neutral enumeration of a Response's header fields — one source of truth consumed by every protocol's writer, so field selection cannot drift between HTTP/1 and HTTP/2.
ResponseSerializer.FieldConsumer - Interface in dev.relism.flash.models
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.
responseSink(Http2Stream.ResponseSink) - Method in class dev.relism.flash.http2.stream.Http2Stream
 
responseStarted() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
ResponseStream - Interface in dev.relism.flash.models
Blocking, flow-controlled response body used by push-style streaming producers.
ResponseStreamOutputStream - Class in dev.relism.flash.models
Adapts a flow-controlled response stream to APIs that write to an OutputStream.
ResponseStreamOutputStream(ResponseStream) - Constructor for class dev.relism.flash.models.ResponseStreamOutputStream
 
responseWriteCompleted() - Method in interface dev.relism.flash.http2.message.Http2ResponseWriter.Completion
 
responseWriteCompleted() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
responseWriter() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
resume(int, int) - Method in class dev.relism.flash.http2.message.Http2ResponseWriter
Serializes the next DATA batch after a WINDOW_UPDATE or previous write completion.
resumeResponse(Http2Stream) - Method in interface dev.relism.flash.http2.stream.Http2Stream.ResponseSink
 
retire(Http2Stream, int) - Method in class dev.relism.flash.http2.stream.Http2StreamTable
Atomically removes and recycles the matching generation of a pooled stream.
Reusable, not allocated per block - Search tag in class dev.relism.flash.bytes.SegmentedByteView
Section
route(Request, Object) - Method in class dev.relism.flash.routing.AbstractRouter
 
route(Request, Object) - Method in class dev.relism.flash.routing.AbstractWsRouter
 
route(Request, Object) - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathRouterImpl
 
route(Request, Object) - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathWsRouterImpl
 
Route - Annotation Interface in dev.relism.flash.routing
HTTP method and path for a class-based RequestHandler.
RouteEvent - Record Class in dev.relism.flash.extension
Immutable snapshot of a route captured at registration time.
RouteEvent(HttpMethod, String, String, String, Class<?>, List<Class<? extends Middleware>>) - Constructor for record class dev.relism.flash.extension.RouteEvent
Creates an instance of a RouteEvent record class.
RouteListener - Interface in dev.relism.flash.extension
Observer notified once for each route registered on a FlashApp or FlashScope.
router() - Method in record class dev.relism.flash.transport.ConnectionContext
Returns the value of the router record component.
routerType() - Method in record class dev.relism.flash.extension.RouteEvent
Returns the value of the routerType record component.
Routes - Class in dev.relism.flash.routing
Boot-time resolution of Route from a handler class (direct @Route or shorthand).
routeScratch(AbstractRouter) - Method in class dev.relism.flash.http2.stream.Http2Stream
 
RST_STREAM - Enum constant in enum class dev.relism.flash.http2.frame.FrameType
RFC 9113 §6.4.
run() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
run(BoundListener, ConnectionRunner, BooleanSupplier) - Static method in class dev.relism.flash.transport.AcceptLoop
 
run(ConnectionContext) - Method in class dev.relism.flash.http1.Http1Connection
 
run(ConnectionContext) - Method in class dev.relism.flash.http2.Http2Connection
 
run(ConnectionContext) - Method in interface dev.relism.flash.transport.ConnectionProtocol
Runs this connection to completion.
run(WebSocketSession, WebSocketHandler) - Static method in class dev.relism.flash.websocket.WebSocketLoop
 

S

sanitize(String) - Static method in class dev.relism.flash.routing.PathUtils
Sanitizes a path segment to ensure it starts with '/' and has no trailing slash.
sanitizeAuthority(String) - Static method in class dev.relism.flash.routing.PathUtils
Normalizes an authority-form CONNECT target without turning it into an origin-form path.
scan(String) - Method in class dev.relism.flash.extension.FlashRegistrar
Scans packageName for RequestHandler subclasses with a routing annotation (@Route or @GET, @POST, …).
scheme() - Method in class dev.relism.flash.http2.message.PseudoHeaders
 
Scope: excludes Response#header(byte[])'s legacy entries - Search tag in class dev.relism.flash.models.ResponseSerializer
Section
Scope: response-object fields only, not connection framing - Search tag in class dev.relism.flash.models.ResponseSerializer
Section
scratch() - Method in record class dev.relism.flash.transport.ConnectionContext
Returns the value of the scratch record component.
ScratchPool - Class in dev.relism.flash.transport
A bounded cache of ConnectionScratch instances, reused across connections instead of being allocated and garbage-collected per connection.
ScratchPool() - Constructor for class dev.relism.flash.transport.ScratchPool
 
ScratchPool(int) - Constructor for class dev.relism.flash.transport.ScratchPool
 
secure() - Method in record class dev.relism.flash.transport.BoundListener
Returns the value of the secure record component.
SegmentedByteView - Class in dev.relism.flash.bytes
A ByteView over up to K discontiguous byte[] segments, presented as one logical byte sequence.
SegmentedByteView() - Constructor for class dev.relism.flash.bytes.SegmentedByteView
 
send(byte[], int, int) - Method in class dev.relism.flash.websocket.WebSocketSession
 
SEND_DATA - Enum constant in enum class dev.relism.flash.http2.stream.Http2StreamState.Event
 
SEND_DATA_ES - Enum constant in enum class dev.relism.flash.http2.stream.Http2StreamState.Event
 
SEND_HEADERS - Enum constant in enum class dev.relism.flash.http2.stream.Http2StreamState.Event
 
SEND_HEADERS_ES - Enum constant in enum class dev.relism.flash.http2.stream.Http2StreamState.Event
 
SEND_RST - Enum constant in enum class dev.relism.flash.http2.stream.Http2StreamState.Event
 
sendPong(WebSocketFrame) - Method in class dev.relism.flash.websocket.WebSocketSession
 
sendText(byte[], int, int) - Method in class dev.relism.flash.websocket.WebSocketSession
 
sendWindow() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
ServerHandle - Interface in dev.relism.flash
Public handle to the underlying HTTP transport.
ServerLifecycle - Class in dev.relism.flash.transport
Owns the server's lifecycle: the accept threads (one per listener × TransportTuning.ACCEPT_THREADS), the active-socket registry, and the two-stage shutdownDrainTimeoutMs (during which Http1Connection forces Connection: close on the next response once it observes ServerLifecycle.isStopped()), then force-close whatever remains.
ServerLifecycle(List<BoundListener>, ConnectionRunner, FlashConfiguration, ExecutorService, Set<Socket>) - Constructor for class dev.relism.flash.transport.ServerLifecycle
 
serverSocketFactory() - Method in class dev.relism.flash.tls.TlsConfig
 
SERVICE_UNAVAILABLE - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
Service access - Search tag in class dev.relism.flash.models.RequestHandler
Section
setBody(Object) - Method in class dev.relism.flash.models.Response
Sets the body from a handler return value.
setDeadline(long) - Method in class dev.relism.flash.transport.BufferedByteSource
Every underlying socket read performed after this call is bounded so that it cannot still be blocking past deadlineNanoTime (an absolute value comparable to System.nanoTime()).
setMaximumSize(int) - Method in class dev.relism.flash.http2.hpack.HpackDynamicTable
Applies an RFC 7541 §4.2 table-size update and evicts oldest entries as necessary.
setMpscNext(WriteIntent) - Method in interface dev.relism.flash.http2.frame.WriteIntent
Intrusive MPSC queue linkage — see IntrusiveMpscQueue.
setMpscNext(WriteIntent) - Method in class dev.relism.flash.http2.message.Http2ResponseWriter
 
setPathParams(Request, MatchResult<WebSocketHandler>, String[], int) - Static method in class dev.relism.flash.routing.AbstractWsRouter
 
setStatusCode(int) - Method in class dev.relism.flash.models.Response
Lombok-style setter kept for API compatibility — equivalent to Response.status(int) without the fluent return.
SETTINGS - Enum constant in enum class dev.relism.flash.http2.frame.FrameType
RFC 9113 §6.5.
SETTINGS_ACK_TIMEOUT_MS - Static variable in class dev.relism.flash.http2.Http2Limits
Maximum time allowed for the peer to acknowledge a locally-sent SETTINGS frame.
SETTINGS_TIMEOUT - Enum constant in enum class dev.relism.flash.http2.Http2ErrorCode
The peer did not acknowledge our SETTINGS within SETTINGS_ACK_TIMEOUT_MS.
SETTINGS_TIMEOUT - Static variable in exception class dev.relism.flash.http2.Http2Exception
 
setTrailers(HeaderView) - Method in class dev.relism.flash.models.Request
Internal protocol hook that supplies the request's trailer collection.
sha1 - Variable in class dev.relism.flash.transport.ConnectionScratch
Scratch for the WebSocket handshake's Sec-WebSocket-Accept SHA-1 digest.
shouldForward(HeaderView, ByteView, ByteView, HopByHopHeaders.Protocol, HopByHopHeaders.Protocol) - Static method in class dev.relism.flash.http.HopByHopHeaders
Returns whether a field may be copied to a new downstream connection.
SimpleHandler - Class in dev.relism.flash.models
Delegates SimpleHandler.handle(dev.relism.flash.models.Request, dev.relism.flash.models.Response) to a SimpleHandler.FunctionalHandler so lambdas can be used without relying on Lombok-generated constructors (IDE-safe, annotation-processing independent).
SimpleHandler(SimpleHandler.FunctionalHandler) - Constructor for class dev.relism.flash.models.SimpleHandler
 
SimpleHandler.FunctionalHandler - Interface in dev.relism.flash.models
Functional interface for handling requests, used by SimpleHandler.
size() - Method in class dev.relism.flash.bytes.SlicePool
How many slices this pool cycles through before a caller's slice is reused.
size() - Method in class dev.relism.flash.http2.hpack.HpackDynamicTable
 
size() - Method in class dev.relism.flash.http2.stream.Http2StreamTable
 
skip(long) - Method in class dev.relism.flash.transport.BufferedByteSource
 
SlicePool - Class in dev.relism.flash.bytes
A small, fixed-size ring of PooledSlice instances — one per ConnectionScratch- Http1HeaderMap.view, QueryParams.view, PathParams.view).
SlicePool(int) - Constructor for class dev.relism.flash.bytes.SlicePool
A ring of size reusable slices.
socket() - Method in record class dev.relism.flash.transport.BoundListener
Returns the value of the socket record component.
socket() - Method in record class dev.relism.flash.transport.ConnectionContext
Returns the value of the socket record component.
SocketByteView(byte[]) - Constructor for class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.SocketByteView
 
sslSession() - Method in class dev.relism.flash.models.Request
Returns the TLS session for this connection, or null for plain HTTP.
sslSession() - Method in class dev.relism.flash.websocket.WebSocketSession
TLS session for this connection, or null for plain WS or no backing request.
sslSocket() - Method in record class dev.relism.flash.transport.ConnectionContext
Returns the value of the sslSocket record component.
start() - Method in class dev.relism.flash.extension.FlashApp
Boots the server and starts accepting connections.
start() - Method in interface dev.relism.flash.ServerHandle
Starts the accept loop on a background platform thread.
start() - Method in class dev.relism.flash.transport.ServerLifecycle
 
startAndBlock() - Method in class dev.relism.flash.extension.FlashApp
Boots the server and blocks the calling thread until the server is stopped.
startAndBlock() - Method in interface dev.relism.flash.ServerHandle
Starts the accept loop and blocks the calling thread until the server is stopped.
startAndBlock() - Method in class dev.relism.flash.transport.ServerLifecycle
 
startFlowControlled(Response, int, boolean, boolean, boolean, boolean, boolean, int, long, int) - Method in class dev.relism.flash.http2.message.Http2ResponseWriter
Starts a response whose DATA may span multiple flow-control windows.
Startup sequence (both #start() and #startAndBlock()) - Search tag in class dev.relism.flash.extension.FlashApp
Section
state() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
State invariant - Search tag in class dev.relism.flash.RequestParser
Section
status() - Method in exception class dev.relism.flash.exceptions.HttpException
 
status(int) - Method in class dev.relism.flash.models.Response
Sets the status code.
status(HttpStatus) - Method in class dev.relism.flash.models.Response
Sets the status from an HttpStatus constant.
stop() - Method in class dev.relism.flash.extension.FlashApp
Gracefully stops the server, then runs every FlashContext.onClose(java.lang.Runnable) callback so services release what they hold.
stop() - Method in interface dev.relism.flash.ServerHandle
Gracefully stops the server, draining active connections.
stop() - Method in class dev.relism.flash.transport.ServerLifecycle
 
stopped() - Method in record class dev.relism.flash.transport.ConnectionContext
Returns the value of the stopped record component.
stream() - Method in class dev.relism.flash.api.multipart.Part
Returns an InputStream over the part body.
stream() - Method in class dev.relism.flash.models.RequestBody
Returns a bounded InputStream over the body without upfront allocation.
stream(InputStream, long) - Method in class dev.relism.flash.models.Response
Streaming response with known length; written with Content-Length.
STREAM_CLOSED - Enum constant in enum class dev.relism.flash.http2.Http2ErrorCode
A frame was received for a stream that is already closed.
STREAM_IDLE_TIMEOUT_MS - Static variable in class dev.relism.flash.http2.Http2Limits
Maximum time, in milliseconds, a stream may remain open with no frame activity in either direction.
streamId() - Method in class dev.relism.flash.http2.frame.FrameHeader
Stream identifier, reserved bit already masked.
streamId() - Method in class dev.relism.flash.http2.hpack.ContinuationAssembler
 
streamId() - Method in exception class dev.relism.flash.http2.Http2StreamException
The id of the stream this error terminates.
streamIdRule() - Method in enum class dev.relism.flash.http2.frame.FrameType
 
streaming(Consumer<ResponseStream>) - Method in class dev.relism.flash.models.Response
Push-style streaming response with bounded blocking backpressure.
StringByteView(String) - Constructor for class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.StringByteView
 
supply(Class<T>, FlashContext.ServiceFactory<T>, Class<?>...) - Method in class dev.relism.flash.extension.FlashContext
Declares a boot factory and its complete dependency set.
supply(Class<T>, Class<A>, Function<A, T>) - Method in class dev.relism.flash.extension.FlashContext
One-dependency factory with no application-side context lookup.
supply(Class<T>, Supplier<T>) - Method in class dev.relism.flash.extension.FlashContext
Declares a no-dependency boot factory.
supportsLong() - Method in class dev.relism.flash.bytes.SegmentedByteView
Always false — see the class Javadoc for why a cross-segment word read is unsound.
supportsLong() - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.RequestByteView
 
supportsLong() - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.SocketByteView
 
supportsLong() - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.StringByteView
 
SWITCHING_PROTOCOLS - Enum constant in enum class dev.relism.flash.http.HttpStatus
 

T

TEMPORARY_REDIRECT - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
text() - Method in class dev.relism.flash.api.multipart.Part
Decodes the body as UTF-8.
TEXT_CSS - Enum constant in enum class dev.relism.flash.http.ContentType
 
TEXT_CSV - Enum constant in enum class dev.relism.flash.http.ContentType
 
TEXT_EVENT_STREAM - Enum constant in enum class dev.relism.flash.http.ContentType
 
TEXT_HTML - Enum constant in enum class dev.relism.flash.http.ContentType
 
TEXT_JAVASCRIPT - Enum constant in enum class dev.relism.flash.http.ContentType
 
TEXT_MARKDOWN - Enum constant in enum class dev.relism.flash.http.ContentType
 
TEXT_PLAIN - Enum constant in enum class dev.relism.flash.http.ContentType
 
TEXT_XML - Enum constant in enum class dev.relism.flash.http.ContentType
 
The deliberate collision - Search tag in class dev.relism.flash.http2.frame.FrameFlags
Section
The design, three layers - Search tag in class dev.relism.flash.http2.frame.Http2FrameWriter
Section
The SWAR technique used throughout - Search tag in class dev.relism.flash.bytes.ByteScan
Section
Thread safety - Search tag in class dev.relism.flash.websocket.WebSocketSession
Section
Thread-safety - Search tag in class dev.relism.flash.http2.frame.FrameWriteBuffer
Section
Thread-safety - Search tag in class dev.relism.flash.http2.frame.Http2FrameReader
Section
Thread-safety - Search tag in class dev.relism.flash.transport.BufferedByteSource
Section
Thread-safety - Search tag in class dev.relism.flash.transport.ScratchPool
Section
tls() - Method in record class dev.relism.flash.extension.FlashConfiguration.Listener
Returns the value of the tls record component.
TlsConfig - Class in dev.relism.flash.tls
Declarative TLS configuration for a FlashConfiguration.Listener.
tokenEqualsIgnoreCase(ByteView, int, int, String) - Static method in class dev.relism.flash.bytes.ByteScan
Case-insensitive compare of view[start, end), trimming trailing spaces, against token.
tokenEqualsIgnoreCase(ByteView, int, int, String) - Static method in class dev.relism.flash.http1.Http1KeepAlive
Case-insensitive compare of view[start, end), trimming trailing spaces, against token.
tokenListContains(ByteView, String) - Static method in class dev.relism.flash.bytes.ByteScan
Whether the comma-separated, OWS-tolerant token list view contains token (case-insensitive).
tokenListContains(ByteView, String) - Static method in class dev.relism.flash.http1.Http1KeepAlive
Scans a comma-separated token list for token (case-insensitive, OWS-tolerant).
TOO_MANY_REQUESTS - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
toString() - Method in record class dev.relism.flash.extension.FlashConfiguration.Listener
Returns a string representation of this record class.
toString() - Method in record class dev.relism.flash.extension.RouteEvent
Returns a string representation of this record class.
toString() - Method in enum class dev.relism.flash.http.HttpMethod
 
toString() - Method in class dev.relism.flash.models.PreEncodedHeader
 
toString() - Method in class dev.relism.flash.models.Request
 
toString() - Method in class dev.relism.flash.models.RequestLine
 
toString() - Method in class dev.relism.flash.models.Response
 
toString() - Method in record class dev.relism.flash.routing.MiddlewareKey
Returns a string representation of this record class.
toString() - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.RequestByteView
 
toString() - Method in record class dev.relism.flash.transport.BoundListener
Returns a string representation of this record class.
toString() - Method in record class dev.relism.flash.transport.ConnectionContext
Returns a string representation of this record class.
touch() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
trace(String, SimpleHandler.FunctionalHandler, Middleware...) - Method in class dev.relism.flash.extension.FlashRegistrar
 
TRACE - Enum constant in enum class dev.relism.flash.http.HttpMethod
 
TRACE - Annotation Interface in dev.relism.flash.routing
Shorthand for @Route(method = HttpMethod.TRACE, path = "…").
traceWith(String, SimpleHandler.FunctionalHandler, MiddlewareNode...) - Method in class dev.relism.flash.extension.FlashRegistrar
 
trailer(PreEncodedHeader) - Method in class dev.relism.flash.models.Response
Adds a pre-encoded structured trailer.
trailer(String, String) - Method in class dev.relism.flash.models.Response
Adds a trailer rendered after the response body on both HTTP versions.
trailer(String, String) - Method in interface dev.relism.flash.models.ResponseStream
 
trailerBlock() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
trailerHeadersInBatch() - Method in class dev.relism.flash.http2.message.Http2ResponseWriter
 
trailers() - Method in class dev.relism.flash.models.Request
Returns request trailers after the body has been consumed completely.
transition(int, Http2StreamState.Event) - Method in enum class dev.relism.flash.http2.stream.Http2StreamState
 
transition(Http2StreamState.Event) - Method in class dev.relism.flash.http2.stream.Http2Stream
 
TransportFactory - Class in dev.relism.flash.transport
Composes the whole transport: binds every configured listener, wires the connection runner and the h1 protocol, and returns the ServerHandle implementation (ServerLifecycle) that ServerHandle.create(dev.relism.flash.extension.FlashConfiguration, dev.relism.flash.routing.AbstractRouter, dev.relism.flash.routing.AbstractWsRouter) exposes publicly.
TransportLimits - Class in dev.relism.flash.transport
Transport-level bound on concurrent connections, enforced by ConnectionRunner before any per-connection state (TLS handshake, protocol negotiation, HPACK tables, buffers) is set up.
Two ways in - Search tag in class dev.relism.flash.tls.TlsConfig
Section
type() - Method in class dev.relism.flash.http2.frame.FrameHeader
The recognised frame type, or null if FrameHeader.typeCode() is not one of RFC 9113's 10.
type(byte[]) - Method in class dev.relism.flash.models.Response
A content type encoded once, typically at boot: the array is kept, not copied, so it must not change.
type(ContentType) - Method in class dev.relism.flash.models.Response
 
type(String) - Method in class dev.relism.flash.models.Response
 
typeCode() - Method in class dev.relism.flash.http2.frame.FrameHeader
The raw wire type byte, valid even when FrameHeader.type() is null (an unrecognised type).

U

unauthorized() - Static method in exception class dev.relism.flash.exceptions.HttpException
 
UNAUTHORIZED - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
unpad(byte[], int, int, boolean) - Static method in class dev.relism.flash.http2.frame.Padding
Locates the actual data range within a payload that may or may not be padded.
unprocessable(String) - Static method in exception class dev.relism.flash.exceptions.HttpException
 
UNPROCESSABLE_ENTITY - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
UNSUPPORTED_MEDIA_TYPE - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
update(int, int) - Method in interface dev.relism.flash.http2.stream.Http2FlowController.WindowUpdateSink
 
URI_TOO_LONG - Enum constant in enum class dev.relism.flash.http.HttpStatus
 
Usage - Search tag in class dev.relism.flash.http2.frame.FrameWriteBuffer
Section
Usage - Search tag in class dev.relism.flash.http2.frame.Http2FrameReader
Section
use(Middleware...) - Method in class dev.relism.flash.extension.FlashRegistrar
Adds middlewares to this registrar's own scope.
use(MiddlewareNode...) - Method in class dev.relism.flash.extension.FlashRegistrar
Adds named middleware nodes whose ordering constraints are compiled at boot.

V

validate(FrameHeader, boolean) - Static method in class dev.relism.flash.http2.frame.FrameValidator
Validates header against RFC 9113's rules for its type.
validate(HpackHeaderBlock, int) - Method in class dev.relism.flash.http2.message.PseudoHeaders
 
validateHeaders() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
validateTrailers() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
validateTrailers(HpackHeaderBlock, int) - Static method in class dev.relism.flash.http2.message.PseudoHeaders
Validates a trailing field section, where pseudo-fields are never permitted.
value() - Element in annotation interface dev.relism.flash.routing.CONNECT
 
value() - Element in annotation interface dev.relism.flash.routing.DELETE
 
value() - Element in annotation interface dev.relism.flash.routing.GET
 
value() - Element in annotation interface dev.relism.flash.routing.HEAD
 
value() - Method in record class dev.relism.flash.routing.MiddlewareKey
Returns the value of the value record component.
value() - Element in annotation interface dev.relism.flash.routing.OPTIONS
 
value() - Element in annotation interface dev.relism.flash.routing.PATCH
 
value() - Element in annotation interface dev.relism.flash.routing.POST
 
value() - Element in annotation interface dev.relism.flash.routing.PURGE
 
value() - Element in annotation interface dev.relism.flash.routing.PUT
 
value() - Element in annotation interface dev.relism.flash.routing.QUERY
 
value() - Element in annotation interface dev.relism.flash.routing.TRACE
 
value() - Element in annotation interface dev.relism.flash.routing.Ws
 
value(int) - Static method in class dev.relism.flash.http2.hpack.HpackStaticTable
 
valueEqualsIgnoreCase(String, String) - Method in class dev.relism.flash.http2.message.Http2HeaderMap
 
valueEqualsIgnoreCase(String, String) - Method in enum class dev.relism.flash.models.EmptyHeaderView
 
valueEqualsIgnoreCase(String, String) - Method in interface dev.relism.flash.models.HeaderView
Case-insensitive comparison of the first value of name against value.
valueEqualsIgnoreCase(String, String) - Method in class dev.relism.flash.models.Http1HeaderMap
 
valueEqualsIgnoreCase(String, String) - Method in class dev.relism.flash.models.MutableHeaderMap
 
valueOf(String) - Static method in enum class dev.relism.flash.http.ContentType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.relism.flash.http.HopByHopHeaders.Protocol
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.relism.flash.http.HttpMethod
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.relism.flash.http.HttpStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.relism.flash.http2.frame.FrameType.StreamIdRule
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.relism.flash.http2.frame.FrameType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.relism.flash.http2.Http2ErrorCode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.relism.flash.http2.stream.Http2StreamState.Event
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.relism.flash.http2.stream.Http2StreamState
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.relism.flash.models.EmptyHeaderView
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.relism.flash.tls.ClientAuth
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class dev.relism.flash.transport.NegotiatedProtocol
Returns the enum constant of this class with the specified name.
values() - Static method in enum class dev.relism.flash.http.ContentType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.relism.flash.http.HopByHopHeaders.Protocol
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.relism.flash.http.HttpMethod
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.relism.flash.http.HttpStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.relism.flash.http2.frame.FrameType.StreamIdRule
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.relism.flash.http2.frame.FrameType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.relism.flash.http2.Http2ErrorCode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.relism.flash.http2.stream.Http2StreamState.Event
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.relism.flash.http2.stream.Http2StreamState
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.relism.flash.models.EmptyHeaderView
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.relism.flash.tls.ClientAuth
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class dev.relism.flash.transport.NegotiatedProtocol
Returns an array containing the constants of this enum class, in the order they are declared.
VERSION - Static variable in class dev.relism.flash.Flash
 
VIDEO_MP4 - Enum constant in enum class dev.relism.flash.http.ContentType
 
VIDEO_WEBM - Enum constant in enum class dev.relism.flash.http.ContentType
 
view(String) - Method in class dev.relism.flash.http2.message.Http2HeaderMap
 
view(String) - Method in enum class dev.relism.flash.models.EmptyHeaderView
 
view(String) - Method in interface dev.relism.flash.models.HeaderView
Returns a view over the first value of name, or null — see the implementation's own reuse-window contract.
view(String) - Method in class dev.relism.flash.models.Http1HeaderMap
Returns a zero-copy ByteView over the first value of name, or null.
view(String) - Method in class dev.relism.flash.models.MutableHeaderMap
 

W

websocket() - Method in class dev.relism.flash.http2.message.PseudoHeaders
 
websocketConnect() - Method in class dev.relism.flash.http2.stream.Http2Stream
 
WebSocketEndpoint - Class in dev.relism.flash.websocket
Base class for class-based WebSocket endpoints registered via @Ws or app.ws(path, endpoint).
WebSocketEndpoint() - Constructor for class dev.relism.flash.websocket.WebSocketEndpoint
 
WebSocketFrame - Class in dev.relism.flash.websocket
Zero-copy view over WebSocketSession's read buffer.
WebSocketFrame() - Constructor for class dev.relism.flash.websocket.WebSocketFrame
 
WebSocketHandler - Interface in dev.relism.flash.websocket
Handler for a WebSocket endpoint.
WebSocketLoop - Class in dev.relism.flash.websocket
Drives one WebSocketSession's read loop until the session closes.
WebSocketProtocolException - Exception Class in dev.relism.flash.websocket
A WebSocket frame violated RFC 6455 (bad opcode, wrong masking direction, oversized control frame, fragmented control frame, or a message exceeding the session's buffer).
WebSocketProtocolException(int, String) - Constructor for exception class dev.relism.flash.websocket.WebSocketProtocolException
 
WebSocketSession - Class in dev.relism.flash.websocket
Per-connection WebSocket I/O state.
WebSocketSession(InputStream, OutputStream, int) - Constructor for class dev.relism.flash.websocket.WebSocketSession
 
WebSocketSession(InputStream, OutputStream, int, Request, boolean) - Constructor for class dev.relism.flash.websocket.WebSocketSession
 
WebSocketUpgrade - Class in dev.relism.flash.websocket
WebSocket upgrade detection (RFC 6455 §4.2.1) and handshake response.
What this enables - Search tag in interface dev.relism.flash.bytes.ArrayBackedByteView
Section
Why a ring, not a single reused slice - Search tag in class dev.relism.flash.bytes.SlicePool
Section
Why not ThreadLocal - Search tag in class dev.relism.flash.transport.ConnectionScratch
Section
Why stack traces are disabled - Search tag in exception class dev.relism.flash.http2.Http2Exception
Section
Why this allocates, unlike Http2Exception's singletons - Search tag in exception class dev.relism.flash.http2.Http2StreamException
Section
Why this exists instead of java.io.BufferedInputStream - Search tag in class dev.relism.flash.transport.BufferedByteSource
Section
Why this works - Search tag in class dev.relism.flash.bytes.Pairs
Section
WINDOW_UPDATE - Enum constant in enum class dev.relism.flash.http2.frame.FrameType
RFC 9113 §6.9.
wrap(RequestHandler) - Method in interface dev.relism.flash.routing.Middleware
Wraps next with this middleware's logic.
write(byte[], int, int) - Method in interface dev.relism.flash.http2.frame.Http2FrameWriter.Sink
 
write(byte[], int, int) - Method in interface dev.relism.flash.models.ResponseStream
 
write(byte[], int, int) - Method in class dev.relism.flash.models.ResponseStreamOutputStream
 
write(int) - Method in class dev.relism.flash.models.ResponseStreamOutputStream
 
write(WriteIntent) - Method in class dev.relism.flash.http2.frame.Http2FrameWriter
Serializes and writes one frame.
WRITE_TIMEOUT_MS - Static variable in class dev.relism.flash.http2.Http2Limits
Maximum time, in milliseconds, Http2FrameWriter may spend blocked inside a single socket write.
writeAscii(String) - Method in class dev.relism.flash.bytes.ByteWriter
Writes s's ASCII bytes, case preserved.
writeAsciiLower(String) - Method in class dev.relism.flash.bytes.ByteWriter
Writes s's ASCII bytes, lower-cased.
writeByte(byte) - Method in class dev.relism.flash.bytes.ByteWriter
 
writeBytes(byte[]) - Method in class dev.relism.flash.bytes.ByteWriter
 
writeBytes(byte[], int, int) - Method in class dev.relism.flash.bytes.ByteWriter
 
writeDecimal(long) - Method in class dev.relism.flash.bytes.ByteWriter
Writes value's ASCII decimal digits (no sign — callers write '-' via ByteWriter.writeByte(byte) first if needed).
writeDynamicTableSizeUpdateZero(ByteWriter) - Static method in class dev.relism.flash.http2.hpack.HpackEncoder
Declares that this endpoint will not use an encoder-side dynamic table.
writeHeaders(OutputStream) - Method in class dev.relism.flash.models.Response
Writes every custom header directly to out, in call order.
writeHeadersInto(ByteWriter) - Method in class dev.relism.flash.models.Response
Writes every custom header directly into head (a scratch ByteWriter — This is what Http1ResponseWriter uses; Response.writeHeaders(OutputStream) below (the OutputStream equivalent) exists for the streaming-body write paths that cannot fold their whole write into one scratch buffer.
writeHex(int) - Method in class dev.relism.flash.bytes.ByteWriter
Writes value's lowercase hex digits, no leading zeros (except for value == 0, which writes "0").
writeIndexed(ByteWriter, int) - Static method in class dev.relism.flash.http2.hpack.HpackEncoder
 
WriteIntent - Interface in dev.relism.flash.http2.frame
"Serialize yourself, then hand me the finished bytes."
writeLines(OutputStream) - Method in class dev.relism.flash.models.MutableHeaderMap
 
writeLiteral(ByteWriter, byte[], byte[]) - Static method in class dev.relism.flash.http2.hpack.HpackEncoder
 
writeLiteral(ByteWriter, byte[], int, int, byte[], int, int, boolean) - Static method in class dev.relism.flash.http2.hpack.HpackEncoder
 
writeLiteral(ByteWriter, ByteView, ByteView) - Static method in class dev.relism.flash.http2.hpack.HpackEncoder
Writes a non-indexed literal directly from protocol-neutral byte views.
writeLiteralNeverIndexed(ByteWriter, byte[], byte[], boolean) - Static method in class dev.relism.flash.http2.hpack.HpackEncoder
 
writeLiteralNeverIndexedWithNameIndex(ByteWriter, int, byte[], boolean) - Static method in class dev.relism.flash.http2.hpack.HpackEncoder
 
writeLiteralWithNameIndex(ByteWriter, int, byte[], boolean) - Static method in class dev.relism.flash.http2.hpack.HpackEncoder
 
writeLiteralWithNameIndex(ByteWriter, int, byte[], int, int, boolean) - Static method in class dev.relism.flash.http2.hpack.HpackEncoder
 
writePriority(WriteIntent) - Method in class dev.relism.flash.http2.frame.Http2FrameWriter
Writes a connection-control frame ahead of queued stream data.
writer() - Method in class dev.relism.flash.http2.frame.FrameWriteBuffer
The underlying ByteWriter — write the frame's payload directly through this between FrameWriteBuffer.beginFrame(dev.relism.flash.http2.frame.FrameType, int, int) and FrameWriteBuffer.endFrame().
writeResponse(OutputStream, Response, HttpMethod, boolean, boolean, ConnectionScratch) - Static method in class dev.relism.flash.http1.Http1ResponseWriter
Writes response to out as a complete HTTP/1.1 message.
Write timeout - Search tag in class dev.relism.flash.http2.frame.Http2FrameWriter
Section
writeTrailers(OutputStream) - Method in class dev.relism.flash.models.Response
 
writeUInt16(int) - Method in class dev.relism.flash.bytes.ByteWriter
Big-endian 16-bit write — an HTTP/2 frame's stream-dependent fields, SETTINGS values, etc.
writeUInt24(int) - Method in class dev.relism.flash.bytes.ByteWriter
Big-endian 24-bit write — an HTTP/2 frame header's length field.
writeUInt31(int) - Method in class dev.relism.flash.bytes.ByteWriter
Big-endian 31-bit write (top bit always 0) — an HTTP/2 stream identifier.
writeUInt32(int) - Method in class dev.relism.flash.bytes.ByteWriter
Big-endian 32-bit write — an HTTP/2 window-size increment, SETTINGS value, etc.
ws(String, WebSocketHandler) - Method in class dev.relism.flash.extension.FlashApp
Registers a WebSocket endpoint at path.
Ws - Annotation Interface in dev.relism.flash.routing
Marks a RequestHandler subclass as a WebSocket endpoint.
wsRouter() - Method in record class dev.relism.flash.transport.ConnectionContext
Returns the value of the wsRouter record component.
wsRouteScratch(AbstractWsRouter) - Method in class dev.relism.flash.http2.stream.Http2Stream
 

X

XML - Enum constant in enum class dev.relism.flash.http.ContentType
 

Z

Zero-allocation design - Search tag in class dev.relism.flash.RequestParser
Section
ZIP - Enum constant in enum class dev.relism.flash.http.ContentType
 
A B C D E F G H I J K L M N O P Q R S T U V W X Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form