public class ProxyResponseConsumer extends Object implements org.apache.http.nio.protocol.HttpAsyncResponseConsumer<ProxyHttpExchange>
| 构造器和说明 |
|---|
ProxyResponseConsumer(ProxyHttpExchange httpExchange) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
cancel() |
void |
close() |
void |
consumeContent(org.apache.http.nio.ContentDecoder decoder,
org.apache.http.nio.IOControl ioctrl) |
void |
failed(Exception ex) |
Exception |
getException() |
ProxyHttpExchange |
getResult() |
boolean |
isDone() |
void |
responseCompleted(org.apache.http.protocol.HttpContext context) |
void |
responseReceived(org.apache.http.HttpResponse response) |
public ProxyResponseConsumer(ProxyHttpExchange httpExchange)
public void close()
close 在接口中 Closeableclose 在接口中 AutoCloseablepublic void responseReceived(org.apache.http.HttpResponse response)
responseReceived 在接口中 org.apache.http.nio.protocol.HttpAsyncResponseConsumer<ProxyHttpExchange>public void consumeContent(org.apache.http.nio.ContentDecoder decoder,
org.apache.http.nio.IOControl ioctrl)
throws IOException
consumeContent 在接口中 org.apache.http.nio.protocol.HttpAsyncResponseConsumer<ProxyHttpExchange>IOExceptionpublic void responseCompleted(org.apache.http.protocol.HttpContext context)
responseCompleted 在接口中 org.apache.http.nio.protocol.HttpAsyncResponseConsumer<ProxyHttpExchange>public void failed(Exception ex)
failed 在接口中 org.apache.http.nio.protocol.HttpAsyncResponseConsumer<ProxyHttpExchange>public boolean cancel()
cancel 在接口中 org.apache.http.concurrent.Cancellablepublic ProxyHttpExchange getResult()
getResult 在接口中 org.apache.http.nio.protocol.HttpAsyncResponseConsumer<ProxyHttpExchange>public Exception getException()
getException 在接口中 org.apache.http.nio.protocol.HttpAsyncResponseConsumer<ProxyHttpExchange>public boolean isDone()
isDone 在接口中 org.apache.http.nio.protocol.HttpAsyncResponseConsumer<ProxyHttpExchange>Copyright © 2025 onecode. All rights reserved.