Class HttpClientHolder


  • public class HttpClientHolder
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.jboss.resteasy.client.jaxrs.ClientHttpEngine createClientHttpEngine()  
      org.apache.http.HttpResponse execute​(org.apache.http.client.methods.HttpUriRequest httpRequest)  
      org.apache.http.HttpHost getHost()  
      org.apache.http.client.HttpClient getHttpClient()  
      Proxies getProxies()  
      java.lang.String getUserName()  
      void loginAs​(java.lang.String username, java.lang.String password)  
      void logout()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • logout

        public void logout()
      • loginAs

        public void loginAs​(java.lang.String username,
                            java.lang.String password)
      • getUserName

        public java.lang.String getUserName()
      • execute

        public org.apache.http.HttpResponse execute​(org.apache.http.client.methods.HttpUriRequest httpRequest)
                                             throws org.apache.http.client.ClientProtocolException,
                                                    java.io.IOException
        Throws:
        org.apache.http.client.ClientProtocolException
        java.io.IOException
      • createClientHttpEngine

        public org.jboss.resteasy.client.jaxrs.ClientHttpEngine createClientHttpEngine()
      • getHost

        public org.apache.http.HttpHost getHost()
      • getHttpClient

        public org.apache.http.client.HttpClient getHttpClient()
      • getProxies

        public Proxies getProxies()