Uses of Class
com.tccc.kos.commons.web.api.ApiRequest
Packages that use ApiRequest
Package
Description
Provides access to the API client for making and receiving local REST calls.
-
Uses of ApiRequest in com.tccc.kos.commons.web.api
Methods in com.tccc.kos.commons.web.api that return ApiRequestModifier and TypeMethodDescriptionAdds the specified header to the message.ApiRequest.addHeaders(Map<String, Object> headers) Adds all theheadersfrom the specified map.Set the router alias of the destination.Returnsthis.ApiRequest.setHeaders(Map<String, String> headers) Returnsthis.ApiRequest.setMethod(RequestMethod method) Returnsthis.Returnsthis.ApiRequest.setOrdered()Flags the request as being strictly ordered.ApiRequest.setResponseClass(Class<T> responseClass) Returnsthis.ApiRequest.setTimeout(int timeout) Returnsthis.Sets the "trace" header for the message.Returnsthis.Methods in com.tccc.kos.commons.web.api with parameters of type ApiRequestModifier and TypeMethodDescription<T> ResponseEnvelope<T>ApiClient.api(ApiRequest<T> request) Performs an API call using the settings in therequestobject.