net.praqma.jenkins.rqm.request
Class RQMHttpClient

java.lang.Object
  extended by org.apache.commons.httpclient.HttpClient
      extended by net.praqma.jenkins.rqm.request.RQMHttpClient

public class RQMHttpClient
extends org.apache.commons.httpclient.HttpClient

Author:
Praqma

Constructor Summary
RQMHttpClient(String host, int port, String contextRoot, String project, String usr, String password)
           
 
Method Summary
 void followRedirects(org.apache.commons.httpclient.HttpMethodBase method, int responseCode)
           
 String getPassword()
           
 String getUsr()
           
 int login()
           
 int logout()
           
 void registerTrustingSSL()
           
 
Methods inherited from class org.apache.commons.httpclient.HttpClient
executeMethod, executeMethod, executeMethod, getHost, getHostConfiguration, getHttpConnectionManager, getParams, getPort, getState, isStrictMode, setConnectionTimeout, setHostConfiguration, setHttpConnectionFactoryTimeout, setHttpConnectionManager, setParams, setState, setStrictMode, setTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RQMHttpClient

public RQMHttpClient(String host,
                     int port,
                     String contextRoot,
                     String project,
                     String usr,
                     String password)
              throws ClientCreationException
Throws:
ClientCreationException
Method Detail

registerTrustingSSL

public void registerTrustingSSL()
                         throws GeneralSecurityException
Throws:
GeneralSecurityException

login

public int login()
          throws org.apache.commons.httpclient.HttpException,
                 IOException,
                 GeneralSecurityException
Throws:
org.apache.commons.httpclient.HttpException
IOException
GeneralSecurityException

logout

public int logout()

followRedirects

public void followRedirects(org.apache.commons.httpclient.HttpMethodBase method,
                            int responseCode)
                     throws org.apache.commons.httpclient.HttpException,
                            IOException
Throws:
org.apache.commons.httpclient.HttpException
IOException

getUsr

public String getUsr()
Returns:
the usr

getPassword

public String getPassword()
Returns:
the password


Copyright © 2004-2014. All Rights Reserved.