Interface HandlerInterceptor.PreparedHandlerInputInterceptor
- Enclosing interface:
HandlerInterceptor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Intercepts one prepared local invocation using a lazy
HandlerInput.
Implementations are cached and may be invoked concurrently. Calling HandlerInput.getMessage() is
supported, but creates the complete message and forfeits the allocation benefit for that invocation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HandlerInterceptor.PreparedHandlerInputInterceptorA policy that immediately proceeds to the next interceptor or handler. -
Method Summary
Modifier and TypeMethodDescriptioninterceptHandling(HandlerInput<DeserializingMessage> input, HandlerDescriptor handler, HandlerInterceptor.PreparedHandlerInputFunction next) Intercepts one local handler invocation.
-
Field Details
-
noOp
A policy that immediately proceeds to the next interceptor or handler.
-
-
Method Details
-
interceptHandling
Object interceptHandling(HandlerInput<DeserializingMessage> input, HandlerDescriptor handler, HandlerInterceptor.PreparedHandlerInputFunction next) Intercepts one local handler invocation.- Parameters:
input- the current lazy handler inputhandler- stable information about the selected handler methodnext- the remaining interceptor chain and handler invocation- Returns:
- the handling result
-