Uses of Enum Class
com.kosdev.kos.commons.core.dispatcher.RequestMethod
Packages that use RequestMethod
Package
Description
Provides access to the network request and response processing.
Provides access to the API client for making and receiving local REST calls.
-
Uses of RequestMethod in com.kosdev.kos.commons.core.dispatcher
Methods in com.kosdev.kos.commons.core.dispatcher that return RequestMethodModifier and TypeMethodDescriptionHttpRequest.getMethod()Returns the HTTP method of the request.static RequestMethodReturns the enum constant of this class with the specified name.static RequestMethod[]RequestMethod.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of RequestMethod in com.kosdev.kos.commons.web.api
Methods in com.kosdev.kos.commons.web.api that return RequestMethodMethods in com.kosdev.kos.commons.web.api with parameters of type RequestMethodModifier and TypeMethodDescription<T> ResponseEnvelope<T>ApiClient.aliasApi(String alias, RequestMethod method, String url, Map<String, Object> headers, Object body, Class<T> clazz, int timeout) Calls a controller on the node with the specified alias with a POST request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>ApiClient.localApi(RequestMethod method, String url, Map<String, Object> headers, Object body, Class<T> clazz) Calls a local controller with a POST request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>ApiClient.nodeApi(NodeId node, RequestMethod method, String url, Map<String, Object> headers, Object body, Class<T> clazz, int timeout) Calls a controller on the specified node with a POST request and then deserializes the response to the specified class.<T> ResponseEnvelope<T>ApiClient.primaryApi(RequestMethod method, String url, Map<String, Object> headers, Object body, Class<T> clazz, int timeout) Calls a controller on the primary node with a POST request and then deserializes the response to the specified class.ApiRequest.setMethod(RequestMethod method) Returnsthis.