类 HttpClientTransport
java.lang.Object
cn.taketoday.buildpack.platform.docker.transport.HttpClientTransport
- 所有已实现的接口:
HttpTransport
Abstract base class for
HttpTransport implementations backed by a
HttpClient.- 作者:
- Phillip Webb, Mike Smithson, Scott Frederick
-
嵌套类概要
嵌套类修饰符和类型类说明private static classAn HTTP operation response.private static classHttpEntityto sendContentcontent.从接口继承的嵌套类/接口 cn.taketoday.buildpack.platform.docker.transport.HttpTransport
HttpTransport.Response -
字段概要
字段修饰符和类型字段说明private final HttpClientprivate final org.apache.hc.core5.http.HttpHost(专用程序包) static final String -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Perform an HTTP DELETE operation.private HttpTransport.Responseexecute(HttpUriRequest request) private HttpTransport.Responseexecute(HttpUriRequestBase request, String registryAuth) private HttpTransport.Responseexecute(HttpUriRequestBase request, String contentType, IOConsumer<OutputStream> writer) Perform an HTTP GET operation.private ErrorsgetErrorsFromResponse(org.apache.hc.core5.http.HttpEntity entity) (专用程序包) org.apache.hc.core5.http.HttpHostgetHost()private MessagegetMessageFromResponse(org.apache.hc.core5.http.HttpEntity entity) Perform an HTTP POST operation.Perform an HTTP POST operation.post(URI uri, String contentType, IOConsumer<OutputStream> writer) Perform an HTTP POST operation.put(URI uri, String contentType, IOConsumer<OutputStream> writer) Perform an HTTP PUT operation.
-
字段详细资料
-
REGISTRY_AUTH_HEADER
- 另请参阅:
-
client
-
host
private final org.apache.hc.core5.http.HttpHost host
-
-
构造器详细资料
-
HttpClientTransport
-
-
方法详细资料
-
get
Perform an HTTP GET operation.- 指定者:
get在接口中HttpTransport- 参数:
uri- the destination URI- 返回:
- the operation response
-
post
Perform an HTTP POST operation.- 指定者:
post在接口中HttpTransport- 参数:
uri- the destination URI- 返回:
- the operation response
-
post
Perform an HTTP POST operation.- 指定者:
post在接口中HttpTransport- 参数:
uri- the destination URIregistryAuth- registry authentication credentials- 返回:
- the operation response
-
post
Perform an HTTP POST operation.- 指定者:
post在接口中HttpTransport- 参数:
uri- the destination URIcontentType- the content type to writewriter- a content writer- 返回:
- the operation response
-
put
Perform an HTTP PUT operation.- 指定者:
put在接口中HttpTransport- 参数:
uri- the destination URIcontentType- the content type to writewriter- a content writer- 返回:
- the operation response
-
delete
Perform an HTTP DELETE operation.- 指定者:
delete在接口中HttpTransport- 参数:
uri- the destination URI- 返回:
- the operation response
-
execute
private HttpTransport.Response execute(HttpUriRequestBase request, String contentType, IOConsumer<OutputStream> writer) -
execute
-
execute
-
getErrorsFromResponse
-
getMessageFromResponse
-
getHost
org.apache.hc.core5.http.HttpHost getHost()
-