Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- 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(ByteView, ByteView) - Method in interface dev.relism.flash.models.HeaderMap.HeaderConsumer
- ACCEPTED - Enum constant in enum class dev.relism.flash.http.HttpStatus
- 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
- 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
- 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.models.HeaderMap
-
Returns all header values in declaration order.
- all(String) - Method in class dev.relism.flash.models.HeaderMap
-
Returns all values of header
namein declaration order, or an empty list. - 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 moreto inject automatically.
invalid reference
middlewares - applicationProtocols(String...) - Method in class dev.relism.flash.tls.TlsConfig
-
ALPN protocols this listener negotiates, in preference order (e.g.
- applyTo(SSLServerSocket) - Method in class dev.relism.flash.tls.TlsConfig
- AUDIO_MPEG - Enum constant in enum class dev.relism.flash.http.ContentType
- AUDIO_OGG - Enum constant in enum class dev.relism.flash.http.ContentType
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
- BINARY - Enum constant in enum class dev.relism.flash.http.ContentType
- 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
- 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() - Method in enum class dev.relism.flash.http.HttpStatus
-
Pre-encoded
"200 OK"bytes — zero allocation on the write path. - bytes() - Method in class dev.relism.flash.models.RequestBody
-
Materialises and caches the full body.
- 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
C
- 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. - 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). - close(int) - Method in class dev.relism.flash.websocket.WebSocketSession
-
Sends a CLOSE frame exactly once.
- closeCode() - Method in class dev.relism.flash.websocket.WebSocketSession
- 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.
- 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.
- compose(RequestHandler, Middleware[]) - Static method in class dev.relism.flash.routing.MiddlewareGraph
-
Pre-composes a sorted chain once at boot.
- 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 = "…"). - connectWith(String, SimpleHandler.FunctionalHandler, MiddlewareNode...) - Method in class dev.relism.flash.extension.FlashRegistrar
- 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-Typedeclared in the part headers, ornullif absent. - ContentType - Enum Class in dev.relism.flash.http
-
Pre-compiled byte representations of common HTTP
Content-Typevalues. - CONTINUE - Enum constant in enum class dev.relism.flash.http.HttpStatus
- copyPayload() - Method in class dev.relism.flash.websocket.WebSocketFrame
-
Copies the payload into a fresh array.
- 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
- 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(FlashContext) - Method in interface dev.relism.flash.extension.FlashContext.ServiceFactory
- CREATED - Enum constant in enum class dev.relism.flash.http.HttpStatus
- 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
FlashContextfor this registrar. - ctx() - Method in class dev.relism.flash.extension.FlashScope
D
- 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
- 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
- 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.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.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.websocket - package dev.relism.flash.websocket
- Dev mode - Search tag in class dev.relism.flash.Flash
- Section
- discover(String) - Static method in class dev.relism.flash.extension.PackageScanner
-
Shared deterministic classpath discovery primitive for Flash extensions.
- 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.models.Request
-
Discards unread body bytes; called by the server after each request on keep-alive connections.
E
- echo(WebSocketFrame) - Method in class dev.relism.flash.websocket.WebSocketSession
- EMPTY - Static variable in class dev.relism.flash.models.QueryParams
- 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 record class dev.relism.flash.routing.MiddlewareKey
-
Indicates whether some other object is "equal to" this one.
- 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
F
- FastPathRouterImpl - Class in dev.relism.flash.routing.routers.fastpathrouter
-
Router backed by the
fpr-corebyte-level state machine. - FastPathRouterImpl() - Constructor for class dev.relism.flash.routing.routers.fastpathrouter.FastPathRouterImpl
- FastPathViews - Class in dev.relism.flash.routing.routers.fastpathrouter
-
ByteViewimplementations 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
- 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
- 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, ornull. - file(String) - Method in class dev.relism.flash.api.multipart.Multipart
-
Returns the first file part named
name, ornull. - filename() - Method in class dev.relism.flash.api.multipart.Part
-
Original filename from
filename="...", ornullfor 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
- first(String) - Method in class dev.relism.flash.models.HeaderMap
-
Returns the first value of header
name(case-insensitive), ornull. - 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.
- FlashConfiguration - Class in dev.relism.flash.extension
-
Configuration for a
FlashAppinstance. - 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
FlashAppandFlashScope. - FlashRegistrar() - Constructor for class dev.relism.flash.extension.FlashRegistrar
- FlashScope - Class in dev.relism.flash.extension
-
Scoped builder for namespace-prefixed routes.
- 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 - Enum constant in enum class dev.relism.flash.http.HttpStatus
- forceClose() - Method in class dev.relism.flash.websocket.WebSocketSession
- forEach(HeaderMap.HeaderConsumer) - Method in class dev.relism.flash.models.HeaderMap
-
Visits every header in declaration order without allocating — no per-header
String/ByteView/list-entry object, unlikeHeaderMap.all(). - FORM_URLENCODED - Enum constant in enum class dev.relism.flash.http.ContentType
- forParsed(RequestLine, InputStream, long, byte[], int, int, InetSocketAddress, SSLSocket) - Static method in class dev.relism.flash.models.Request
- FOUND - Enum constant in enum class dev.relism.flash.http.HttpStatus
- 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.
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(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
- getExceptionHandler() - Method in class dev.relism.flash.routing.AbstractRouter
- getHeaders() - Method in class dev.relism.flash.models.Response
-
Returns custom headers, or an empty list if none were added.
- getNotFoundHandler() - Method in class dev.relism.flash.routing.AbstractRouter
- getWith(String, SimpleHandler.FunctionalHandler, MiddlewareNode...) - Method in class dev.relism.flash.extension.FlashRegistrar
- 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
- 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
handlerClassrecord component. - 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 record class dev.relism.flash.routing.MiddlewareKey
-
Returns a hash code value for this object.
- 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 header (e.g. a static
"X-RateLimit-Limit: 100\r\n"byte array pre-built at boot time). - header(String) - Method in class dev.relism.flash.models.Request
-
Returns the first value of header
name, ornullif absent. - header(String, String) - Method in class dev.relism.flash.models.Response
-
Adds a response header.
- headerEquals(String, String) - Method in class dev.relism.flash.models.Request
-
Internal: case-insensitive header value comparison used by the server keep-alive logic.
- HeaderMap - Class in dev.relism.flash.models
-
Lazy, zero-copy header access backed directly by the request parser's byte buffer.
- HeaderMap() - Constructor for class dev.relism.flash.models.HeaderMap
- HeaderMap.HeaderConsumer - Interface in dev.relism.flash.models
- 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
namein declaration order. - headers(String...) - Method in class dev.relism.flash.Flash.Middlewares.CorsConfig
- headWith(String, SimpleHandler.FunctionalHandler, MiddlewareNode...) - Method in class dev.relism.flash.extension.FlashRegistrar
- host() - Method in record class dev.relism.flash.extension.FlashConfiguration.Listener
-
Returns the value of the
hostrecord component. - 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.
I
- 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
- 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
- inject(Request, PathParams) - Static method in class dev.relism.flash.models.PathParams
-
Injects path parameters into a request.
- install(FlashExtension) - Method in class dev.relism.flash.extension.FlashApp
-
Registers a declarative extension contribution.
- instantiate(Class<?>) - Static method in class dev.relism.flash.extension.FlashRegistrar
- instantiateWs(Class<?>) - Static method in class dev.relism.flash.extension.FlashRegistrar
- internal(String) - Static method in exception class dev.relism.flash.exceptions.HttpException
- INTERNAL_SERVER_ERROR - Enum constant in enum class dev.relism.flash.http.HttpStatus
- isEmpty() - Method in class dev.relism.flash.models.RequestBody
-
trueif the body has zero bytes (Content-Length: 0or no body). - isFile() - Method in class dev.relism.flash.api.multipart.Part
-
trueif this part has afilenameattribute (i.e. a file upload). - isFin() - Method in class dev.relism.flash.websocket.WebSocketFrame
- isOpen() - Method in class dev.relism.flash.websocket.WebSocketSession
- 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).
- isStreaming() - Method in class dev.relism.flash.models.Response
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
SSLContextfrom a PKCS12/JKS keystore — type is guessed from the file extension (.jksmeans JKS, anything else PKCS12).
L
- LD_JSON - Enum constant in enum class dev.relism.flash.http.ContentType
- 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_REQUIRED - Enum constant in enum class dev.relism.flash.http.HttpStatus
- Lifecycle - Search tag in class dev.relism.flash.models.RequestHandler
- Section
- Lifetime contract — read carefully - Search tag in class dev.relism.flash.models.HeaderMap
- 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
Listenerrecord class.
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
- materialize() - Method in class dev.relism.flash.api.multipart.Part
-
Materialises the body into a
byte[]. - method() - Method in record class dev.relism.flash.extension.RouteEvent
-
Returns the value of the
methodrecord component. - 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
middlewareChainrecord 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
MiddlewareKeyrecord 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
- 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
- MSGPACK - Enum constant in enum class dev.relism.flash.http.ContentType
- Multipart - Class in dev.relism.flash.api.multipart
-
Lazy streaming
multipart/form-dataparser. - MULTIPART_FORM - Enum constant in enum class dev.relism.flash.http.ContentType
N
- name() - Method in class dev.relism.flash.api.multipart.Part
-
Field or file name from
Content-Disposition: form-data; name="...". - namespace() - Method in record class dev.relism.flash.extension.RouteEvent
-
Returns the value of the
namespacerecord component. - NDJSON - Enum constant in enum class dev.relism.flash.http.ContentType
- NO_CONTENT - Enum constant in enum class dev.relism.flash.http.HttpStatus
- 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(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, ornull. - 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.
- OK - Enum constant in enum class dev.relism.flash.http.HttpStatus
- onClose(WebSocketSession, int) - Method in interface dev.relism.flash.websocket.WebSocketHandler
- 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
- 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(String) - Method in class dev.relism.flash.Flash.Middlewares.CorsConfig
P
- PackageScanner - Class in dev.relism.flash.extension
-
Minimal classpath scanner used by
FlashRegistrar.scan(java.lang.String)andFlashRegistrar.scan(java.lang.String). - param(String) - Method in class dev.relism.flash.models.Request
-
Returns the path parameter named
name, ornull. - 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(InputStream) - Method in class dev.relism.flash.RequestParser
-
Parses the next HTTP request from
in. - Part - Class in dev.relism.flash.api.multipart
-
One part of a
multipart/form-databody produced byMultipart. - 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
namein 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
pathrecord component. - 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
- 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.websocket.WebSocketFrame
- PDF - Enum constant in enum class dev.relism.flash.http.ContentType
- PERMANENT_REDIRECT - Enum constant in enum class dev.relism.flash.http.HttpStatus
- port() - Method in record class dev.relism.flash.extension.FlashConfiguration.Listener
-
Returns the value of the
portrecord component. - 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
- process(Class<? extends RequestHandler>) - Method in interface dev.relism.flash.extension.AnnotationProcessor
- provide(Class<T>, T) - Method in class dev.relism.flash.extension.FlashContext
-
Binds an already-created singleton.
- 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
- 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
namein declaration order. - query(String) - Method in class dev.relism.flash.models.Request
-
Returns the first query parameter named
name, ornull. - 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
defaultValueif absent. - queryLong(Request, String, long) - Static method in class dev.relism.flash.models.RequestHelper
-
Returns the query param as a long, or
defaultValueif absent. - queryOptional(Request, String) - Static method in class dev.relism.flash.models.RequestHelper
-
Returns the query param, or
nullif 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
- readFrame(WebSocketFrame) - Method in class dev.relism.flash.websocket.WebSocketSession
- 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.
- 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.
- register(HttpMethod, String, WebSocketHandler) - Method in class dev.relism.flash.routing.AbstractWsRouter
- remoteAddress() - Method in class dev.relism.flash.models.Request
-
Returns the remote socket address of the connected client, or
nullfor test-constructed requests. - 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
- 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
-
Immutable view of an incoming HTTP/1.1 request.
- Request(RequestLine, byte[]) - Constructor for class dev.relism.flash.models.Request
-
Test / manual constructor —
remoteAddress()returnsnull,isSecure()isfalse. - RequestBody - Class in dev.relism.flash.models
-
Accessor for the HTTP request body.
- 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
- RequestLine() - 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
- 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.
- reset(byte[], int, int) - Method in class dev.relism.flash.models.HeaderMap
-
Resets this map to the header section
buffer[sectionStart, sectionEnd). - reset(byte[], ByteView) - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathViews.MethodPathByteView
- 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
- route(Request) - Method in class dev.relism.flash.routing.AbstractRouter
- route(Request) - Method in class dev.relism.flash.routing.AbstractWsRouter
- route(Request) - Method in class dev.relism.flash.routing.routers.fastpathrouter.FastPathRouterImpl
- route(Request) - 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
RouteEventrecord class. - RouteListener - Interface in dev.relism.flash.extension
-
Observer notified once for each route registered on a
FlashApporFlashScope. - routerType() - Method in record class dev.relism.flash.extension.RouteEvent
-
Returns the value of the
routerTyperecord component. - Routes - Class in dev.relism.flash.routing
-
Boot-time resolution of
Routefrom a handler class (direct@Routeor shorthand).
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.
- scan(String) - Method in class dev.relism.flash.extension.FlashRegistrar
-
Scans
packageNameforRequestHandlersubclasses with a routing annotation (@Routeor@GET,@POST, …). - send(byte[], int, int) - Method in class dev.relism.flash.websocket.WebSocketSession
- sendPong(WebSocketFrame) - Method in class dev.relism.flash.websocket.WebSocketSession
- sendText(byte[], int, int) - Method in class dev.relism.flash.websocket.WebSocketSession
- ServerHandle - Interface in dev.relism.flash
-
Public handle to the underlying HTTP transport.
- 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.
- setPathParams(Request, MatchResult<WebSocketHandler>, String[], int) - Static method in class dev.relism.flash.routing.AbstractWsRouter
- setPathParams(Request, String[], ByteView, int[], int[]) - Static method in class dev.relism.flash.routing.AbstractRouter
- SimpleHandler - Class in dev.relism.flash.models
-
Delegates
SimpleHandler.handle(dev.relism.flash.models.Request, dev.relism.flash.models.Response)to aSimpleHandler.FunctionalHandlerso lambdas can be used without relying on Lombok-generated constructors (IDE-safe, annotation-processing independent). - 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. - 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
nullfor plain HTTP. - sslSession() - Method in class dev.relism.flash.websocket.WebSocketSession
-
TLS session for this connection, or
nullfor plain WS or no backing request. - 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.
- 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.
- Startup sequence (both #start() and #startAndBlock()) - Search tag in class dev.relism.flash.extension.FlashApp
- Section
- 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
HttpStatusconstant. - stop() - Method in class dev.relism.flash.extension.FlashApp
- stop() - Method in interface dev.relism.flash.ServerHandle
-
Gracefully stops the server, draining active connections.
- stream() - Method in class dev.relism.flash.api.multipart.Part
-
Returns an
InputStreamover the part body. - stream() - Method in class dev.relism.flash.models.RequestBody
-
Returns a bounded
InputStreamover 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. - 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.
- 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
- Thread safety - Search tag in class dev.relism.flash.websocket.WebSocketSession
- Section
- tls() - Method in record class dev.relism.flash.extension.FlashConfiguration.Listener
-
Returns the value of the
tlsrecord component. - TlsConfig - Class in dev.relism.flash.tls
-
Declarative TLS configuration for a
FlashConfiguration.Listener. - 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 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
- 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
- Two ways in - Search tag in class dev.relism.flash.tls.TlsConfig
- Section
- type(ContentType) - Method in class dev.relism.flash.models.Response
- type(String) - Method in class dev.relism.flash.models.Response
U
- unauthorized() - Static method in exception class dev.relism.flash.exceptions.HttpException
- UNAUTHORIZED - Enum constant in enum class dev.relism.flash.http.HttpStatus
- 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
- URI_TOO_LONG - Enum constant in enum class dev.relism.flash.http.HttpStatus
- 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
- 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
valuerecord 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
- valueEqualsIgnoreCase(String, String) - Method in class dev.relism.flash.models.HeaderMap
-
Case-insensitive comparison of the first value of
nameagainstvalue. - 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.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.tls.ClientAuth
-
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.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.tls.ClientAuth
-
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.models.HeaderMap
-
Returns a zero-copy
ByteViewover the first value ofname, ornull.
W
- WebSocketEndpoint - Class in dev.relism.flash.websocket
-
Base class for class-based WebSocket endpoints registered via
@Wsorapp.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.
- 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
- wrap(RequestHandler) - Method in interface dev.relism.flash.routing.Middleware
-
Wraps
nextwith this middleware's logic. - writeHeaders(OutputStream) - Method in class dev.relism.flash.models.Response
-
Writes pre-encoded custom headers directly to
out. - 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
RequestHandlersubclass as a WebSocket endpoint.
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
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form