类的使用
com.lark.oapi.okhttp.Request
使用Request的程序包
程序包
说明
An HTTP+HTTP/2 client for Android and Java applications.
-
com.lark.oapi.okhttp中Request的使用
返回Request的com.lark.oapi.okhttp中的方法修饰符和类型方法说明Authenticator.authenticate(Route route, Response response) Returns a request that includes a credential to satisfy an authentication challenge inresponse.Request.Builder.build()Call.request()Returns the original request that initiated this call.Interceptor.Chain.request()Response.request()The wire-level request that initiated this HTTP response.WebSocket.request()Returns the original request that initiated this web socket.参数类型为Request的com.lark.oapi.okhttp中的方法修饰符和类型方法说明Prepares therequestto be executed at some point in the future.OkHttpClient.newWebSocket(Request request, WebSocketListener listener) Usesrequestto connect a new web socket.WebSocket.Factory.newWebSocket(Request request, WebSocketListener listener) Creates a new web socket and immediately returns it.voidEventListener.requestHeadersEnd(Call call, Request request) Invoked immediately after sending request headers. -
com.lark.oapi.okhttp.internal中Request的使用
参数类型为Request的com.lark.oapi.okhttp.internal中的方法 -
com.lark.oapi.okhttp.internal.cache中Request的使用
修饰符和类型字段说明final RequestCacheStrategy.networkRequestThe request to send on the network, or null if this call doesn't use the network.修饰符和类型方法说明static booleanCacheStrategy.isCacheable(Response response, Request request) Returns true ifresponsecan be stored to later serve another request.voidRemove any cache entries for the suppliedrequest.参数类型为Request的com.lark.oapi.okhttp.internal.cache中的构造器 -
com.lark.oapi.okhttp.internal.connection中Request的使用
修饰符和类型方法说明Exchange.createRequestBody(Request request, boolean duplex) voidTransmitter.prepareToConnect(Request request) Prepare to create a stream to carryrequest.voidExchange.writeRequestHeaders(Request request) -
com.lark.oapi.okhttp.internal.http中Request的使用
修饰符和类型方法说明ExchangeCodec.createRequestBody(Request request, long contentLength) Returns an output stream where the request body can be streamed.static StringRequestLine.get(Request request, Proxy.Type proxyType) Returns the request status line, like "GET / HTTP/1.1".RealInterceptorChain.proceed(Request request, Transmitter transmitter, Exchange exchange) static booleanHttpHeaders.varyMatches(Response cachedResponse, Headers cachedRequest, Request newRequest) Returns true if none of the Vary headers have changed betweencachedRequestandnewRequest.voidExchangeCodec.writeRequestHeaders(Request request) This should update the HTTP engine's sentRequestMillis field.参数类型为Request的com.lark.oapi.okhttp.internal.http中的构造器限定符构造器说明RealInterceptorChain(List<Interceptor> interceptors, Transmitter transmitter, Exchange exchange, int index, Request request, Call call, int connectTimeout, int readTimeout, int writeTimeout) -
com.lark.oapi.okhttp.internal.http1中Request的使用
修饰符和类型方法说明Http1ExchangeCodec.createRequestBody(Request request, long contentLength) voidHttp1ExchangeCodec.writeRequestHeaders(Request request) Prepares the HTTP headers and sends them to the server. -
com.lark.oapi.okhttp.internal.http2中Request的使用
修饰符和类型方法说明Http2ExchangeCodec.createRequestBody(Request request, long contentLength) Http2ExchangeCodec.http2HeadersList(Request request) voidHttp2ExchangeCodec.writeRequestHeaders(Request request) -
com.lark.oapi.okhttp.internal.ws中Request的使用
参数类型为Request的com.lark.oapi.okhttp.internal.ws中的构造器限定符构造器说明RealWebSocket(Request request, WebSocketListener listener, Random random, long pingIntervalMillis)