public class ActorHttpClientResponse extends java.lang.Object implements ActorHttpClientResponseHandler
| 构造器和说明 |
|---|
ActorHttpClientResponse() |
| 限定符和类型 | 方法和说明 |
|---|---|
static java.lang.String |
getContentCharSet(byte[] bytes) |
static java.lang.String |
handleInner(org.apache.http.HttpResponse response,
java.lang.String charset)
{method specification, must edit}
|
void |
handleResponse(org.apache.http.HttpResponse response,
org.apache.http.client.protocol.HttpClientContext httpclientcontext,
java.lang.String charset,
Message message) |
public void handleResponse(org.apache.http.HttpResponse response,
org.apache.http.client.protocol.HttpClientContext httpclientcontext,
java.lang.String charset,
Message message)
throws java.lang.Exception
handleResponse 在接口中 ActorHttpClientResponseHandlerjava.lang.Exceptionpublic static java.lang.String handleInner(org.apache.http.HttpResponse response,
java.lang.String charset)
throws java.io.IOException,
org.apache.http.client.HttpResponseException
response - HttpClient的响应charset - 字符集java.io.IOException - 抛出IO异常org.apache.http.client.HttpResponseException - 抛出HttpClient的错误响应public static java.lang.String getContentCharSet(byte[] bytes)
throws org.apache.http.ParseException
org.apache.http.ParseException