Uses of Class
org.miaixz.bus.http.Request
Packages that use Request
Package
Description
Java应用的HTTP客户端
-
Uses of Request in org.miaixz.bus.http
Fields in org.miaixz.bus.http declared as RequestMethods in org.miaixz.bus.http that return RequestModifier and TypeMethodDescriptionRequest.Builder.build()NewCall.request()RealCall.request()Response.request()The wire-level request that initiated this HTTP response.Methods in org.miaixz.bus.http with parameters of type RequestModifier and TypeMethodDescription准备request在将来的某个时间点执行创建新的调用Httpd.newWebSocket(Request request, WebSocketListener listener) 使用request连接一个新的web套接字static booleanHeaders.varyMatches(Response cachedResponse, Headers cachedRequest, Request newRequest) Returns true if none of the Vary headers have changed betweencachedRequestandnewRequest.Httpv.webSocket(Request request, WebSocketListener listener) -
Uses of Request in org.miaixz.bus.http.accord
Methods in org.miaixz.bus.http.accord with parameters of type RequestModifier and TypeMethodDescriptionorg.miaixz.bus.core.io.sink.SinkExchange.createRequestBody(Request request, boolean duplex) voidTransmitter.prepareToConnect(Request request) Prepare to create a stream to carryrequest.voidExchange.writeRequestHeaders(Request request) -
Uses of Request in org.miaixz.bus.http.cache
Fields in org.miaixz.bus.http.cache declared as RequestModifier and TypeFieldDescriptionfinal RequestCacheStrategy.networkRequest请求在网络上发送,如果调用不使用网络则为空Methods in org.miaixz.bus.http.cache with parameters of type RequestModifier and TypeMethodDescriptionstatic booleanCacheStrategy.isCacheable(Response response, Request request) 如果response可以存储为以后服务另一个请求,则返回truevoid删除提供的request的所有缓存项。当客户端使缓存无效时(如发出POST请求时),将调用此方法Constructors in org.miaixz.bus.http.cache with parameters of type Request -
Uses of Request in org.miaixz.bus.http.metric
Methods in org.miaixz.bus.http.metric that return RequestMethods in org.miaixz.bus.http.metric with parameters of type RequestModifier and TypeMethodDescriptionabstract NewCallInternal.newWebSocketCall(Httpd client, Request request) voidEventListener.requestHeadersEnd(NewCall call, Request request) 发送请求头后立即调用. -
Uses of Request in org.miaixz.bus.http.metric.http
Methods in org.miaixz.bus.http.metric.http that return RequestMethods in org.miaixz.bus.http.metric.http with parameters of type RequestModifier and TypeMethodDescriptionorg.miaixz.bus.core.io.sink.SinkHttp1Codec.createRequestBody(Request request, long contentLength) org.miaixz.bus.core.io.sink.SinkHttp2Codec.createRequestBody(Request request, long contentLength) org.miaixz.bus.core.io.sink.SinkHttpCodec.createRequestBody(Request request, long contentLength) 返回一个可以对请求体进行流处理的输出流.static StringRequestLine.get(Request request, Proxy.Type proxyType) static List<Headers.Header> Http2Codec.http2HeadersList(Request request) RealInterceptorChain.proceed(Request request, Transmitter transmitter, Exchange exchange) voidHttp1Codec.writeRequestHeaders(Request request) Prepares the HTTP headers and sends them to the server.voidHttp2Codec.writeRequestHeaders(Request request) voidHttpCodec.writeRequestHeaders(Request request) 这应该更新HTTP引擎的sentRequestMillis字段.Constructors in org.miaixz.bus.http.metric.http with parameters of type RequestModifierConstructorDescriptionRealInterceptorChain(List<Interceptor> interceptors, Transmitter transmitter, Exchange exchange, int index, Request request, NewCall call, int connectTimeout, int readTimeout, int writeTimeout) -
Uses of Request in org.miaixz.bus.http.plugin.httpv
Methods in org.miaixz.bus.http.plugin.httpv that return Request -
Uses of Request in org.miaixz.bus.http.plugin.httpz
Methods in org.miaixz.bus.http.plugin.httpz that return RequestModifier and TypeMethodDescriptionprotected RequestGetRequest.buildRequest(RequestBody requestBody) protected abstract RequestHttpRequest.buildRequest(RequestBody requestBody) protected RequestPostRequest.buildRequest(RequestBody requestBody) protected RequestPutRequest.buildRequest(RequestBody requestBody) HttpRequest.createRequest(Callback callback) RequestCall.getRequest() -
Uses of Request in org.miaixz.bus.http.secure
Methods in org.miaixz.bus.http.secure that return RequestModifier and TypeMethodDescriptionAuthenticator.authenticate(Route route, Response response) 该请求包含满足response中的身份验证挑战的凭据。如果无法满足挑战,则返回null 该路线是最好的努力,它目前可能不总是提供,即使在逻辑上可用 在应用程序拦截器中手动重用身份验证器时,例如在实现特定于客户机的重试时,也可能不提供此功能NetAuthenticator.authenticate(Route route, Response response) -
Uses of Request in org.miaixz.bus.http.socket
Methods in org.miaixz.bus.http.socket that return RequestMethods in org.miaixz.bus.http.socket with parameters of type RequestModifier and TypeMethodDescriptionWebSocket.Factory.newWebSocket(Request request, WebSocketListener listener) 创建一个新的web套接字并立即返回它。创建web套接字将启动一个异步进程来连接套接字 成功或失败,listener将被通知。当返回的web套接字不再使用时,调用者必须关闭或取消它Constructors in org.miaixz.bus.http.socket with parameters of type RequestModifierConstructorDescriptionRealWebSocket(Request request, WebSocketListener listener, Random random, long pingIntervalMillis)