Uses of Class
com.easypost.hooks.RequestHookResponses
Packages that use RequestHookResponses
Package
Description
Custom hook classes for the EasyPost API.
Interact with the EasyPost API in Java.
-
Uses of RequestHookResponses in com.easypost.hooks
Methods in com.easypost.hooks with parameters of type RequestHookResponsesModifier and TypeMethodDescriptionvoid
RequestHook.executeEventHandler
(RequestHookResponses datas) Execute all the functions from the event handlers.Method parameters in com.easypost.hooks with type arguments of type RequestHookResponsesModifier 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
Method parameters in com.easypost.service with type arguments of type RequestHookResponsesModifier 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.