Module bus.http

Interface Preprocessor.PreChain

Enclosing interface:
Preprocessor

public static interface Preprocessor.PreChain
Represents a chain of preprocessors. It provides access to the current HTTP task and allows the chain to proceed to the next preprocessor or to the final request execution.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the HTTP client instance.
    Gets the current HTTP task being processed.
    void
    Passes control to the next preprocessor in the chain.
  • Method Details

    • getTask

      CoverHttp<?> getTask()
      Gets the current HTTP task being processed.
      Returns:
      The current CoverHttp task.
    • getHttp

      Httpv getHttp()
      Gets the HTTP client instance.
      Returns:
      The Httpv client instance.
    • proceed

      void proceed()
      Passes control to the next preprocessor in the chain. If this is the last preprocessor, it will trigger the execution of the actual HTTP request.