Uses of Enum Class
org.azd.enums.CustomHeader
Packages that use CustomHeader
-
Uses of CustomHeader in org.azd.enums
Methods in org.azd.enums that return CustomHeaderModifier and TypeMethodDescriptionstatic CustomHeaderReturns the enum constant of this class with the specified name.static CustomHeader[]CustomHeader.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of CustomHeader in org.azd.utils
Methods in org.azd.utils with parameters of type CustomHeaderModifier and TypeMethodDescriptionstatic <T> CompletableFuture<HttpResponse<T>>BaseRestClient.get(String requestUrl, String token, HttpResponse.BodyHandler<T> handler, CustomHeader contentType, boolean callback) Sends a GET request to REST API with basic authenticationstatic <T> CompletableFuture<HttpResponse<T>>BaseRestClient.patch(String requestUrl, String token, HttpRequest.BodyPublisher publisher, HttpResponse.BodyHandler<T> handler, CustomHeader contentType, boolean callback) Sends a PATCH request to REST API with basic authentication and request bodystatic <T> CompletableFuture<HttpResponse<T>>BaseRestClient.post(String requestUrl, String token, HttpRequest.BodyPublisher publisher, HttpResponse.BodyHandler<T> handler, CustomHeader contentType, boolean callback) Sends a POST request to REST API with oauth authentication, content length of the request and request bodystatic <T> CompletableFuture<HttpResponse<T>>BaseRestClient.put(String requestUrl, String token, HttpRequest.BodyPublisher publisher, HttpResponse.BodyHandler<T> handler, CustomHeader contentType, boolean callback) Sends a PUT request to REST API with basic authentication and request bodystatic <T> CompletableFuture<HttpResponse<T>>BaseRestClient.response(RequestMethod requestMethod, String requestUrl, String token, HttpRequest.BodyPublisher publisher, HttpResponse.BodyHandler<T> handler, CustomHeader contentType, boolean callback) Manages the request method and response from REST API.static StringRestClient.send(String requestUrl, Connection connection, RequestMethod requestMethod, Object requestBody, CustomHeader contentType, boolean callback) Mediator for BaseRestClient and other Api implementations.static StringRestClient.send(String requestUrl, RequestMethod requestMethod, Object requestBody, CustomHeader contentType, boolean callback) Mediator for BaseRestClient and other Api implementations.static CompletableFuture<HttpResponse<InputStream>>RestClient.send(String requestUrl, RequestMethod requestMethod, Connection connection, String resourceId, String project, String area, String id, String resource, String apiVersion, Map queryString, InputStream contentStream, CustomHeader contentType, boolean callback) Mediator for BaseRestClient and other Api implementations.static InputStreamRestClient.send(RequestMethod requestMethod, Connection connection, String resourceId, String project, String area, String id, String resource, String apiVersion, Map queryString, InputStream contentStream, CustomHeader contentType, boolean callback) Request the Azure DevOps REST API and builds the request url dynamically based on resource id and endpoints passedstatic StringRestClient.send(RequestMethod requestMethod, Connection connection, String resourceId, String project, String area, String id, String resource, String apiVersion, Map queryString, Object requestBody, CustomHeader contentType) Request the Azure DevOps REST API and builds the request url dynamically based on resource id and endpoints passed