Uses of Class
dev.relism.flash.models.Request
Packages that use Request
Package
Description
-
Uses of Request in dev.relism.flash
Methods in dev.relism.flash that return RequestModifier and TypeMethodDescriptionRequestParser.parse(BufferedByteSource in) Parses the next HTTP request fromin. -
Uses of Request in dev.relism.flash.api.multipart
Methods in dev.relism.flash.api.multipart with parameters of type Request -
Uses of Request in dev.relism.flash.http1
Methods in dev.relism.flash.http1 with parameters of type RequestModifier and TypeMethodDescriptionstatic booleanHttp1KeepAlive.connectionContainsToken(Request request, String token) Whether the request'sConnectionheader liststoken(case-insensitive).static booleanHttp1KeepAlive.isKeepAlive(Request request) Whether the connection should remain open after this response. -
Uses of Request in dev.relism.flash.http2.stream
Methods in dev.relism.flash.http2.stream that return RequestModifier and TypeMethodDescriptionHttp2Stream.assembleRequest(InetSocketAddress remoteAddress, SSLSocket sslSocket) -
Uses of Request in dev.relism.flash.models
Methods in dev.relism.flash.models that return RequestModifier and TypeMethodDescriptionstatic RequestRequest.forParsed(Request pooled, RequestLine requestLine, RequestBody body, InetSocketAddress remoteAddress, SSLSocket sslSocket) Repositionspooledover a freshly-parsed request.Methods in dev.relism.flash.models with parameters of type RequestModifier and TypeMethodDescriptionprotected abstract BReads the body in the format this handler speaks.static RequestRequest.forParsed(Request pooled, RequestLine requestLine, RequestBody body, InetSocketAddress remoteAddress, SSLSocket sslSocket) Repositionspooledover a freshly-parsed request.final Objectprotected abstract Objectabstract ObjectHandles an incoming request.static voidPathParams.inject(Request request, PathParams params) Injects path parameters into a request.static intReturns the path parameter as an int.static longReturns the path parameter as a long.static StringRequestHelper.paramRequired(Request req, String name) Returns the path parameter as a String.static intReturns the query param as an int, ordefaultValueif absent.static longReturns the query param as a long, ordefaultValueif absent.static StringRequestHelper.queryOptional(Request req, String name) Returns the query param, ornullif absent.static StringRequestHelper.queryRequired(Request req, String name) Returns the query param value. -
Uses of Request in dev.relism.flash.routing
Methods in dev.relism.flash.routing with parameters of type RequestModifier and TypeMethodDescriptionabstract RequestHandlerabstract WebSocketHandlerprotected static voidAbstractWsRouter.setPathParams(Request request, dev.relism.fpr.core.MatchResult<WebSocketHandler> result, String[] allNames, int methodLen) -
Uses of Request in dev.relism.flash.routing.routers.fastpathrouter
Methods in dev.relism.flash.routing.routers.fastpathrouter with parameters of type RequestModifier and TypeMethodDescription -
Uses of Request in dev.relism.flash.template
Methods in dev.relism.flash.template with parameters of type RequestModifier and TypeMethodDescriptionstatic byte[]ErrorPages.renderException(Request request, Exception ex) static byte[]ErrorPages.renderNotFound(Request request) -
Uses of Request in dev.relism.flash.websocket
Methods in dev.relism.flash.websocket that return RequestModifier and TypeMethodDescriptionWebSocketSession.request()The request that upgraded this connection, ornull— see the 4-arg constructor.Methods in dev.relism.flash.websocket with parameters of type RequestModifier and TypeMethodDescriptionstatic booleanWebSocketUpgrade.isWebSocketUpgrade(Request request) Whetherrequestis a WebSocket upgrade request:Upgrade: websocketand a shared token-list scanner inHttp1KeepAliveis what fixed the whole-value compare bug this check used to have too).static voidWebSocketUpgrade.performHandshake(OutputStream out, Request request, ConnectionScratch scratch) Writes and flushes the101 Switching Protocolshandshake response.Constructors in dev.relism.flash.websocket with parameters of type RequestModifierConstructorDescriptionWebSocketSession(InputStream in, OutputStream out, int bufferSize, Request request, boolean maskOutgoing)