- All Superinterfaces:
PreHttpInterceptor<HttpServerRequest,
HttpServerResponse>
- All Known Subinterfaces:
HttpServerInterceptor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface PreHttpServerInterceptor
extends PreHttpInterceptor<HttpServerRequest,HttpServerResponse>
An
PreHttpServerInterceptor
definition for pre-processing
HttpServerRequest
as well as HttpServerResponse
instances.-
Method Summary
Modifier and TypeMethodDescriptionvoid
preIntercept
(HttpServerRequest aRequest, HttpServerResponse aResponse) Invoked to pre-process aHttpServerRequest
alongside aHttpServerResponse
.
-
Method Details
-
preIntercept
Invoked to pre-process aHttpServerRequest
alongside aHttpServerResponse
.- Specified by:
preIntercept
in interfacePreHttpInterceptor<HttpServerRequest,
HttpServerResponse> - Parameters:
aRequest
- TheHttpServerRequest
to pre-process.aResponse
- TheHttpServerResponse
to post-process.
-