Uses of Enum Class
dev.relism.flash.http.HttpMethod
Packages that use HttpMethod
Package
Description
-
Uses of HttpMethod in dev.relism.flash.extension
Methods in dev.relism.flash.extension that return HttpMethodModifier and TypeMethodDescriptionRouteEvent.method()Returns the value of themethodrecord component.Methods in dev.relism.flash.extension with parameters of type HttpMethodModifier and TypeMethodDescriptionprotected voidFlashApp.addRoute(HttpMethod method, String path, RequestHandler handler, List<MiddlewareNode> mw) protected abstract voidFlashRegistrar.addRoute(HttpMethod method, String path, RequestHandler handler, List<MiddlewareNode> mw) Adds a route immediately to this registrar's deferred compilation list.protected voidFlashScope.addRoute(HttpMethod method, String path, RequestHandler handler, List<MiddlewareNode> mw) Constructors in dev.relism.flash.extension with parameters of type HttpMethodModifierConstructorDescriptionRouteEvent(HttpMethod method, String path, String namespace, String routerType, Class<?> handlerClass, List<Class<? extends Middleware>> middlewareChain) Creates an instance of aRouteEventrecord class. -
Uses of HttpMethod in dev.relism.flash.http
Methods in dev.relism.flash.http that return HttpMethodModifier and TypeMethodDescriptionstatic HttpMethodHttpMethod.fromBytes(byte[] buf, int off, int len) Resolves the HttpMethod from a byte buffer segment using O(1) dispatch.static HttpMethodReturns the enum constant of this class with the specified name.static HttpMethod[]HttpMethod.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of HttpMethod in dev.relism.flash.http1
Methods in dev.relism.flash.http1 with parameters of type HttpMethodModifier and TypeMethodDescriptionstatic voidHttp1ResponseWriter.writeResponse(OutputStream out, Response response, HttpMethod method, boolean keepAlive, boolean sendDate, ConnectionScratch scratch) Writesresponsetooutas a complete HTTP/1.1 message. -
Uses of HttpMethod in dev.relism.flash.models
Methods in dev.relism.flash.models that return HttpMethodModifier and TypeMethodDescriptionRequestLine.getMethod()Request.method()HTTP method (GET,POST, …).Methods in dev.relism.flash.models with parameters of type HttpMethodModifier and TypeMethodDescriptionvoidRequestLine.reset(HttpMethod method, dev.relism.fpr.core.ByteView path, dev.relism.fpr.core.ByteView query, dev.relism.fpr.core.ByteView protocol, HeaderView headers) Repositions this instance over a new request.Constructors in dev.relism.flash.models with parameters of type HttpMethodModifierConstructorDescriptionRequestLine(HttpMethod method, dev.relism.fpr.core.ByteView path, dev.relism.fpr.core.ByteView query, dev.relism.fpr.core.ByteView protocol, HeaderView headers) -
Uses of HttpMethod in dev.relism.flash.routing
Methods in dev.relism.flash.routing with parameters of type HttpMethodModifier and TypeMethodDescriptionprotected abstract AbstractRouterAbstractRouter.addRoute(HttpMethod method, String path, RequestHandler handler) protected abstract AbstractWsRouterAbstractWsRouter.addRoute(HttpMethod method, String path, WebSocketHandler handler) AbstractRouter.doRegister(HttpMethod method, String path, RequestHandler handler, Middleware[] middlewares) Registers a handler with a pre-built middleware array.final AbstractWsRouterAbstractWsRouter.register(HttpMethod method, String path, WebSocketHandler handler) -
Uses of HttpMethod in dev.relism.flash.routing.routers.fastpathrouter
Methods in dev.relism.flash.routing.routers.fastpathrouter with parameters of type HttpMethodModifier and TypeMethodDescriptionprotected AbstractRouterFastPathRouterImpl.addRoute(HttpMethod method, String path, RequestHandler handler) protected AbstractWsRouterFastPathWsRouterImpl.addRoute(HttpMethod method, String path, WebSocketHandler handler)