Uses of Class
com.easypost.hooks.ResponseHookResponses
Package
Description
Custom hook classes for the EasyPost API.
Interact with the EasyPost API in Java.
-
Uses of ResponseHookResponses in com.easypost.hooks
Modifier and TypeMethodDescriptionvoid
ResponseHook.executeEventHandler
(ResponseHookResponses datas) Execute all the functions from the event handlers.Modifier and TypeMethodDescriptionvoid
ResponseHook.addEventHandler
(Function<ResponseHookResponses, Object> handler) Add a function to the list of event handlers.void
ResponseHook.removeEventHandler
(Function<ResponseHookResponses, Object> handler) Remove a function to the list of event handlers. -
Uses of ResponseHookResponses in com.easypost.service
Modifier and TypeMethodDescriptionvoid
EasyPostClient.subscribeToResponseHook
(Function<ResponseHookResponses, Object> function) Subscribes to a response hook from the given function.void
EasyPostClient.unsubscribeFromResponseHook
(Function<ResponseHookResponses, Object> function) Unubscribes to a response hook from the given function.