Interface EndpointHandler.Processor<T,R>
- Enclosing class:
EndpointHandler<B,T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptiondefault <U> EndpointHandler.Processor<T,U> append(EndpointHandler.Processor<? super R, ? extends U> next) static <T,U> EndpointHandler.State<? extends U> invoke(EndpointHandler.State<T> state, EndpointHandler.Processor<? super T, ? extends U> processor) static <T> EndpointHandler.Processor<T,T> nop()EndpointHandler.State<? extends R>process(EndpointHandler.State<? extends T> state)
-
Method Details
-
process
EndpointHandler.State<? extends R> process(EndpointHandler.State<? extends T> state) throws Exception - Throws:
Exception
-
append
default <U> EndpointHandler.Processor<T,U> append(EndpointHandler.Processor<? super R, ? extends U> next) -
nop
-
invoke
static <T,U> EndpointHandler.State<? extends U> invoke(EndpointHandler.State<T> state, EndpointHandler.Processor<? super T, ? extends U> processor)
-