Module io.helidon.webserver
Package io.helidon.webserver.http
Interface HttpEntryPoint.Interceptor.Chain
- All Superinterfaces:
Interception.Interceptor.Chain<Void>
- Enclosing interface:
HttpEntryPoint.Interceptor
public static interface HttpEntryPoint.Interceptor.Chain
extends Interception.Interceptor.Chain<Void>
Invocation chain for HTTP Entry point.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
proceed
(ServerRequest request, ServerResponse response) Invoke the next interceptor in the chain.default Void
Call the next interceptor in line, or finish with the call to the service being intercepted.
-
Method Details
-
proceed
Description copied from interface:Interception.Interceptor.Chain
Call the next interceptor in line, or finish with the call to the service being intercepted. Note that that arguments are passed by reference to each interceptor ultimately leading up to the final call to the underlying intercepted target. Callers can mutate the arguments passed directly on the provided array instance.- Specified by:
proceed
in interfaceInterception.Interceptor.Chain<Void>
- Parameters:
args
- the arguments passed- Returns:
- the result of the call
- Throws:
Exception
- may throw any checked exceptions thrown by the underlying method, or any runtime exception thrown
-
proceed
Invoke the next interceptor in the chain.- Parameters:
request
- server requestresponse
- server response- Throws:
Exception
- in case the invocation fails, this should not be handled by most interceptors
-