类的使用
com.lark.oapi.okhttp.HttpUrl
使用HttpUrl的程序包
程序包
说明
An HTTP+HTTP/2 client for Android and Java applications.
-
com.lark.oapi.okhttp中HttpUrl的使用
返回HttpUrl的com.lark.oapi.okhttp中的方法修饰符和类型方法说明HttpUrl.Builder.build()static HttpUrlReturns a newHttpUrlrepresentingurl.static HttpUrlstatic HttpUrlstatic HttpUrlReturns a newHttpUrlrepresentingurlif it is a well-formed HTTP or HTTPS URL, or null if it isn't.Returns the URL that would be retrieved by followinglinkfrom this URL, or null if the resulting URL is not well-formed.Address.url()Returns a URL with the hostname and port of the origin server.Request.url()参数类型为HttpUrl的com.lark.oapi.okhttp中的方法修饰符和类型方法说明static StringCookieJar.loadForRequest(HttpUrl url) Load cookies from the jar for an HTTP request tourl.booleanReturns true if this cookie should be included on a request tourl.static CookieAttempt to parse aSet-CookieHTTP header valuesetCookieas a cookie.Returns all of the cookies from a set of HTTP response headers.voidCookieJar.saveFromResponse(HttpUrl url, List<Cookie> cookies) Savescookiesfrom an HTTP response to this store according to this jar's policy. -
com.lark.oapi.okhttp.internal中HttpUrl的使用
参数类型为HttpUrl的com.lark.oapi.okhttp.internal中的方法修饰符和类型方法说明static StringUtil.hostHeader(HttpUrl url, boolean includeDefaultPort) static booleanUtil.sameConnection(HttpUrl a, HttpUrl b) Returns true if an HTTP request foraandbcan reuse a connection. -
com.lark.oapi.okhttp.internal.connection中HttpUrl的使用
-
com.lark.oapi.okhttp.internal.http中HttpUrl的使用
修饰符和类型方法说明static voidHttpHeaders.receiveHeaders(CookieJar cookieJar, HttpUrl url, Headers headers) static StringRequestLine.requestPath(HttpUrl url) Returns the path to request, like the '/' in 'GET / HTTP/1.1'.