Uses of Interface
com.mastfrog.acteur.HttpEvent
Packages that use HttpEvent
Package
Description
Acteur
-
Uses of HttpEvent in com.mastfrog.acteur
Methods in com.mastfrog.acteur with parameters of type HttpEvent -
Uses of HttpEvent in com.mastfrog.acteur.auth
Methods in com.mastfrog.acteur.auth with parameters of type HttpEventModifier and TypeMethodDescriptionintAdd an entry to the tarpit for failing to authenticate, incrementing the count if necessary.AsyncAuthenticator.authenticate(com.mastfrog.acteur.util.RequestID rid, HttpEvent evt, String token) Authenticate a request, returning a completion stage which will resume the acteur chain when completed.intGet the number of bad requestsConstruct a cache keyvoidAuthenticateBasicActeur.AuthenticationDecorator.onAuthenticationFailed(HttpEvent evt, Page page, Response response) Called when authetication failsevoidAuthenticateBasicActeur.AuthenticationDecorator.onAuthenticationSucceeded(HttpEvent evt, Page page, Response response, Object[] stuff) Called when authentication succeeds.voiddefault StringValidate an incoming authenticated request. -
Uses of HttpEvent in com.mastfrog.acteur.debug
Methods in com.mastfrog.acteur.debug with parameters of type HttpEventModifier and TypeMethodDescriptionprotected voidHttpProbe.onActeurWasRun(com.mastfrog.acteur.util.RequestID id, HttpEvent evt, Page page, Acteur acteur, ActeurState result) protected voidHttpProbe.onBeforeProcessRequest(com.mastfrog.acteur.util.RequestID id, HttpEvent req) protected voidHttpProbe.onBeforeRunPage(com.mastfrog.acteur.util.RequestID id, HttpEvent evt, Page page) protected voidHttpProbe.onBeforeSendResponse(com.mastfrog.acteur.util.RequestID id, HttpEvent httpEvent, Acteur acteur, io.netty.handler.codec.http.HttpResponseStatus status, boolean hasListener, Object message) protected voidHttpProbe.onFallthrough(com.mastfrog.acteur.util.RequestID id, HttpEvent evt) protected void -
Uses of HttpEvent in com.mastfrog.acteur.server
Methods in com.mastfrog.acteur.server with parameters of type HttpEventModifier and TypeMethodDescriptiondefault URIPathFactory.constructURI(String path, HttpEvent evt) PathFactory.constructURL(String path, HttpEvent evt) Generate a URL to this application, using the path and the system default for whether to use http or https. -
Uses of HttpEvent in com.mastfrog.acteur.websocket
Methods in com.mastfrog.acteur.websocket with parameters of type HttpEventModifier and TypeMethodDescriptionCalled on connection success.Constructors in com.mastfrog.acteur.websocket with parameters of type HttpEventModifierConstructorDescriptionprotectedWebSocketUpgradeActeur(HttpEvent evt, PathFactory paths, com.mastfrog.settings.Settings settings, Page page, Deferral defer, Chain chain, ApplicationControl ctrl, OnWebsocketConnect onConnect)