Uses of Class
org.attribyte.api.http.Request
Packages that use Request
Package
Description
-
Uses of Request in org.attribyte.api.http
Methods in org.attribyte.api.http that return RequestModifier and TypeMethodDescriptionabstract RequestAdds authentication credentials to a request.Request.addHeaders(Collection<Header> headers) Adds headers to the existing headers, replacing any that are duplicated.DeleteRequestBuilder.create()FormPostRequestBuilder.create()GetRequestBuilder.create()HeadRequestBuilder.create()OptionsRequestBuilder.create()PatchRequestBuilder.create()PostRequestBuilder.create()PutRequestBuilder.create()abstract RequestRequestBuilder.create()Creates the immutable request after all headers, parameters and attributes are added.Methods in org.attribyte.api.http with parameters of type RequestModifier and TypeMethodDescriptionabstract RequestAdds authentication credentials to a request.com.google.common.util.concurrent.ListenableFuture<Response> Sends a request with default options that completes with aListenableFuture.com.google.common.util.concurrent.ListenableFuture<Response> AsyncClient.asyncSend(Request request, RequestOptions options) Sends a request with specified options that completes with aListenableFuture.abstract ResponseAuthScheme.authenticate(Request request, String userId, String secret) Authenticates the request.AsyncClient.completableSend(Request request) Sends a request with default options that completes with aCompletableFuture.AsyncClient.completableSend(Request request, RequestOptions options) Sends a request with specified options that completes with aCompletableFuture.abstract StringGets the user id from the request, if possible.abstract booleanAuthScheme.hasCredentials(Request request) Determines if the request has any (invalid or valid) credentials for this scheme.Authorizer.isAuthorized(AuthScheme auth, Request request) Determine if a request is authorized.Sends a request with default options.Client.send(Request request, RequestOptions options) Sends a request with specified options. -
Uses of Request in org.attribyte.api.http.impl
Methods in org.attribyte.api.http.impl that return RequestModifier and TypeMethodDescriptionMethods in org.attribyte.api.http.impl with parameters of type RequestModifier and TypeMethodDescriptionBasicAuthScheme.authenticate(Request request, String userId, String secret) booleanBasicAuthScheme.hasCredentials(Request request) -
Uses of Request in org.attribyte.api.http.impl.jakarta
Methods in org.attribyte.api.http.impl.jakarta that return RequestModifier and TypeMethodDescriptionstatic final RequestBridge.fromServletRequest(jakarta.servlet.http.HttpServletRequest request, int maxBodyBytes) Creates a request from a Jakarta servlet HTTP request.Methods in org.attribyte.api.http.impl.jakarta with parameters of type RequestModifier and TypeMethodDescriptionstatic StringBridge.getRequestURI(Request request) Per the servlet API definition: Returns the part of the request URL from the protocol name up to the query string in the first line of the HTTP request.static StringBuilderBridge.getRequestURL(Request request) Per the servlet API definition: returns the original request, excluding the query string. -
Uses of Request in org.attribyte.api.http.impl.jdk
Methods in org.attribyte.api.http.impl.jdk with parameters of type RequestModifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<Response> com.google.common.util.concurrent.ListenableFuture<Response> JdkClient.asyncSend(Request request, RequestOptions options) JdkClient.completableSend(Request request) JdkClient.completableSend(Request request, RequestOptions options) JdkClient.send(Request request, RequestOptions options) -
Uses of Request in org.attribyte.api.http.impl.jetty
Methods in org.attribyte.api.http.impl.jetty with parameters of type RequestModifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<Response> com.google.common.util.concurrent.ListenableFuture<Response> JettyClient.asyncSend(Request request, RequestOptions options) JettyClient.completableSend(Request request) JettyClient.completableSend(Request request, RequestOptions options) JettyClient.send(Request request, RequestOptions options) Sends a request and allows the response to be streamed when it is available.JettyClient.test(Request request, RequestOptions options) Run a test, hashing the content and accumulating the length, but not buffering. -
Uses of Request in org.attribyte.api.http.impl.servlet
Methods in org.attribyte.api.http.impl.servlet that return RequestModifier and TypeMethodDescriptionstatic final RequestBridge.fromServletRequest(javax.servlet.http.HttpServletRequest request, int maxBodyBytes) Creates a request from a servlet HTTP request.Methods in org.attribyte.api.http.impl.servlet with parameters of type RequestModifier and TypeMethodDescriptionstatic StringBridge.getRequestURI(Request request) Per the servlet API definition: Returns the part of the request URL from the protocol name up to the query string in the first line of the HTTP request.static StringBuilderBridge.getRequestURL(Request request) Per the servlet API definition: returns the original request, excluding the query string.