类 RequestLine
java.lang.Object
com.lark.oapi.okhttp.internal.http.RequestLine
-
方法概要
修饰符和类型方法说明static Stringget(Request request, Proxy.Type proxyType) Returns the request status line, like "GET / HTTP/1.1".static StringrequestPath(HttpUrl url) Returns the path to request, like the '/' in 'GET / HTTP/1.1'.
-
方法详细资料
-
get
Returns the request status line, like "GET / HTTP/1.1". This is exposed to the application byURLConnection.getHeaderFields(), so it needs to be set even if the transport is HTTP/2. -
requestPath
Returns the path to request, like the '/' in 'GET / HTTP/1.1'. Never empty, even if the request URL is. Includes the query component if it exists.
-