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