Uses of Interface
org.miaixz.bus.http.NewCall
Packages that use NewCall
Package
Description
Java应用的HTTP客户端
内部实现及规则
内部标准及逻辑
Http 内部逻辑
Httpv 实现
Httpz 实现
-
Uses of NewCall in org.miaixz.bus.http
Classes in org.miaixz.bus.http that implement NewCallMethods in org.miaixz.bus.http that return NewCallMethods in org.miaixz.bus.http with parameters of type NewCallModifier and TypeMethodDescriptiondefault voidCallback.onFailure(NewCall call, IOException ex) 请求失败时的回调default void请求失败时的回调(带请求标识)default voidCallback.onResponse(NewCall call, Response response) 请求成功时的回调default voidCallback.onResponse(NewCall newCall, Response response, String id) 请求成功时的回调(带请求标识) -
Uses of NewCall in org.miaixz.bus.http.accord
Methods in org.miaixz.bus.http.accord with parameters of type NewCallModifier and TypeMethodDescriptionvoidRealConnection.connect(int connectTimeout, int readTimeout, int writeTimeout, int pingIntervalMillis, boolean connectionRetryEnabled, NewCall call, EventListener eventListener) Constructors in org.miaixz.bus.http.accord with parameters of type NewCallModifierConstructorDescriptionExchange(Transmitter transmitter, NewCall call, EventListener eventListener, org.miaixz.bus.http.accord.ExchangeFinder finder, HttpCodec codec) RouteSelector(Address address, RouteDatabase routeDatabase, NewCall call, EventListener eventListener) Transmitter(Httpd client, NewCall call) -
Uses of NewCall in org.miaixz.bus.http.metric
Methods in org.miaixz.bus.http.metric that return NewCallModifier and TypeMethodDescriptionNewChain.call()实际调用准备执行的请求abstract NewCallInternal.newWebSocketCall(Httpd client, Request request) Methods in org.miaixz.bus.http.metric that return types with arguments of type NewCallModifier and TypeMethodDescriptionDispatcher.queuedCalls()Returns a snapshot of the calls currently awaiting execution.Dispatcher.runningCalls()Returns a snapshot of the calls currently being executed.Methods in org.miaixz.bus.http.metric with parameters of type NewCallModifier and TypeMethodDescriptionvoid在调用完全结束后立即调用。voidEventListener.callFailed(NewCall call, IOException ioe) 永久失败时调用.void在调用进入队列或由客户端执行时立即调用。voidEventListener.connectEnd(NewCall call, InetSocketAddress inetSocketAddress, Proxy proxy, org.miaixz.bus.core.net.Protocol protocol) 在尝试套接字连接后立即调用.voidEventListener.connectFailed(NewCall call, InetSocketAddress inetSocketAddress, Proxy proxy, org.miaixz.bus.core.net.Protocol protocol, IOException ioe) 连接尝试失败时调用。voidEventListener.connectionAcquired(NewCall call, Connection connection) 为call获取连接后调用.voidEventListener.connectionReleased(NewCall call, Connection connection) 在为call释放连接后调用.voidEventListener.connectStart(NewCall call, InetSocketAddress inetSocketAddress, Proxy proxy) 仅在初始化套接字连接之前调用.为特定的NewCall创建EventListener的实例。voidEventListener.dnsEnd(NewCall call, String domainName, List<InetAddress> inetAddressList) 在DNS查找后立即调用.void仅在DNS查找之前调用。voidEventListener.requestBodyEnd(NewCall call, long byteCount) 在发送请求主体后立即调用 此方法总是在EventListener.requestBodyStart(NewCall)之后调用voidEventListener.requestBodyStart(NewCall call) 仅在发送请求主体之前调用。voidEventListener.requestFailed(NewCall call, IOException ioe) voidEventListener.requestHeadersEnd(NewCall call, Request request) 发送请求头后立即调用.voidEventListener.requestHeadersStart(NewCall call) 仅在发送请求头之前调用.voidEventListener.responseBodyEnd(NewCall call, long byteCount) 在接收到响应体并完成读取后立即调用.voidEventListener.responseBodyStart(NewCall call) 仅在接收响应主体之前调用.voidEventListener.responseFailed(NewCall call, IOException ioe) voidEventListener.responseHeadersEnd(NewCall call, Response response) 在接收响应标头后立即调用 这个方法总是在EventListener.responseHeadersStart(org.miaixz.bus.http.NewCall)之后调用voidEventListener.responseHeadersStart(NewCall call) 仅在接收响应标头之前调用.voidEventListener.secureConnectEnd(NewCall call, Handshake handshake) 尝试TLS连接后立即调用.voidEventListener.secureConnectStart(NewCall call) 在启动TLS连接之前调用. -
Uses of NewCall in org.miaixz.bus.http.metric.http
Methods in org.miaixz.bus.http.metric.http that return NewCallConstructors in org.miaixz.bus.http.metric.http with parameters of type NewCallModifierConstructorDescriptionRealInterceptorChain(List<Interceptor> interceptors, Transmitter transmitter, Exchange exchange, int index, Request request, NewCall call, int connectTimeout, int readTimeout, int writeTimeout) -
Uses of NewCall in org.miaixz.bus.http.plugin.httpv
Methods in org.miaixz.bus.http.plugin.httpv that return NewCall -
Uses of NewCall in org.miaixz.bus.http.plugin.httpz
Methods in org.miaixz.bus.http.plugin.httpz that return NewCallMethods in org.miaixz.bus.http.plugin.httpz with parameters of type NewCallModifier and TypeMethodDescriptionvoidvoidFileCallback.onResponse(NewCall call, Response response, String id) voidTextCallback.onResponse(NewCall call, Response response, String id) voidvoidFileCallback.onSuccess(NewCall call, InputStream fileStream, String id) abstract void