REQ - RESP - public class PipelineChain<REQ,RESP> extends AbstractChain<REQ,RESP>
| 构造器和说明 |
|---|
PipelineChain() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addHandler(Handler<REQ,RESP> handler) |
void |
handle(REQ request,
RESP response)
Causes the next filter in the chain to be invoked, or if the calling filter is the last filter
in the chain, causes the resource at the end of the chain to be invoked.
|
getContext, setContextpublic void handle(REQ request, RESP response)
Chainrequest - the request to pass along the chain.response - the response to pass along the chain.Copyright © 2020. All rights reserved.