Interface PipelineContext

All Known Implementing Classes:
DefaultPipelineContext

public interface PipelineContext
Pipeline Context
Author:
渔民小镇
date:
2023-02-19
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    addFirst(Object handler)
    Adds the handler to the first position.
    void
    addFirst(String name, Object handler)
    Adds the handler to the first position.
    default void
    addLast(Object handler)
    Adds the handler to the last position.
    void
    addLast(String name, Object handler)
    Adds the handler to the last position.
    void
    remove(String name)
    Removes the specified handler.
  • Method Details

    • addFirst

      default void addFirst(Object handler)
      Adds the handler to the first position.
      Parameters:
      handler - The handler
    • addFirst

      void addFirst(String name, Object handler)
      Adds the handler to the first position.
      Parameters:
      name - The name of the handler
      handler - The handler
    • addLast

      default void addLast(Object handler)
      Adds the handler to the last position.
      Parameters:
      handler - The handler
    • addLast

      void addLast(String name, Object handler)
      Adds the handler to the last position.
      Parameters:
      name - The name of the handler
      handler - The handler
    • remove

      void remove(String name)
      Removes the specified handler.
      Parameters:
      name - The name of the handler