Interface PipelineContext
- All Known Implementing Classes:
DefaultPipelineContext
public interface PipelineContext
Transport-agnostic adapter for adding/removing handlers in a connection pipeline.
- Author:
- 渔民小镇
- date:
- 2023-02-19
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidAdds the handler to the first position.voidAdds the handler to the first position.default voidAdds the handler to the last position.voidAdds the handler to the last position.voidRemoves the specified handler.
-
Method Details
-
addFirst
Adds the handler to the first position.- Parameters:
handler- handler instance
-
addFirst
-
addLast
Adds the handler to the last position.- Parameters:
handler- handler instance
-
addLast
-
remove
-