Interface ClientLifecycleListener


@Contract @ConstrainedTo(CLIENT) public interface ClientLifecycleListener
Jersey client lifecycle listener contract.
Since:
2.11
Author:
Marek Potociar
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when the client instance is closed.
    void
    Invoked when a new runtime is initialized for the client instance.
  • Method Details

    • onInit

      void onInit()
      Invoked when a new runtime is initialized for the client instance.
    • onClose

      void onClose()
      Invoked when the client instance is closed.