Interface ClientLifecycleListener


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onClose()
      Invoked when the client instance is closed.
      void onInit()
      Invoked when a new runtime is initialized for the client instance.
    • Method Detail

      • onInit

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

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