类 HttpClientConnection

  • 所有已实现的接口:
    com.caucho.hessian.client.HessianConnection

    public class HttpClientConnection
    extends Object
    implements com.caucho.hessian.client.HessianConnection
    HttpClientConnection
    • 构造器详细资料

      • HttpClientConnection

        public HttpClientConnection(org.apache.http.client.HttpClient httpClient,
                                    URL url)
    • 方法详细资料

      • addHeader

        public void addHeader(String key,
                              String value)
        指定者:
        addHeader 在接口中 com.caucho.hessian.client.HessianConnection
      • getOutputStream

        public OutputStream getOutputStream()
                                     throws IOException
        指定者:
        getOutputStream 在接口中 com.caucho.hessian.client.HessianConnection
        抛出:
        IOException
      • sendRequest

        public void sendRequest()
                         throws IOException
        指定者:
        sendRequest 在接口中 com.caucho.hessian.client.HessianConnection
        抛出:
        IOException
      • getStatusCode

        public int getStatusCode()
        指定者:
        getStatusCode 在接口中 com.caucho.hessian.client.HessianConnection
      • getStatusMessage

        public String getStatusMessage()
        指定者:
        getStatusMessage 在接口中 com.caucho.hessian.client.HessianConnection
      • getContentEncoding

        public String getContentEncoding()
        指定者:
        getContentEncoding 在接口中 com.caucho.hessian.client.HessianConnection
      • getInputStream

        public InputStream getInputStream()
                                   throws IOException
        指定者:
        getInputStream 在接口中 com.caucho.hessian.client.HessianConnection
        抛出:
        IOException
      • close

        public void close()
                   throws IOException
        指定者:
        close 在接口中 com.caucho.hessian.client.HessianConnection
        抛出:
        IOException
      • destroy

        public void destroy()
                     throws IOException
        指定者:
        destroy 在接口中 com.caucho.hessian.client.HessianConnection
        抛出:
        IOException