org.ferris.net.runner
Class HttpsRequestRunner<M>

java.lang.Object
  extended by org.ferris.net.runner.HttpRequestRunner<M>
      extended by org.ferris.net.runner.HttpsRequestRunner<M>
Type Parameters:
M -

public class HttpsRequestRunner<M>
extends HttpRequestRunner<M>

The same as HttpRequestRunner only HTTPS is used.

Author:
Mike Remijan

Field Summary
 
Fields inherited from class org.ferris.net.runner.HttpRequestRunner
proxyAuthScope, proxyCredentials
 
Constructor Summary
HttpsRequestRunner(org.apache.http.auth.AuthScope authScope)
          This constructor is used if the HTTP resource is NOT protected by BASIC authentication.
HttpsRequestRunner(org.apache.http.auth.AuthScope authScope, org.apache.http.auth.UsernamePasswordCredentials credentials)
          This constructor is used if the HTTP resource IS protected by BASIC authentication.
 
Method Summary
protected  String getScheme()
          The "https" of the URL "https://localhost:8080/some/path/search.php", must begin with a "/" and not end with a "/".
 
Methods inherited from class org.ferris.net.runner.HttpRequestRunner
addCookie, addParameter, addParameter, addParameters, addParameters, get, getCookiePolicy, getHost, getPort, post, setCookiePolicy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpsRequestRunner

public HttpsRequestRunner(org.apache.http.auth.AuthScope authScope)
This constructor is used if the HTTP resource is NOT protected by BASIC authentication.

Parameters:
authScope -

HttpsRequestRunner

public HttpsRequestRunner(org.apache.http.auth.AuthScope authScope,
                          org.apache.http.auth.UsernamePasswordCredentials credentials)
This constructor is used if the HTTP resource IS protected by BASIC authentication.

Parameters:
authScope -
Method Detail

getScheme

protected String getScheme()
The "https" of the URL "https://localhost:8080/some/path/search.php", must begin with a "/" and not end with a "/". Override this method in sub-classes if https is needed instead.

Overrides:
getScheme in class HttpRequestRunner<M>


Copyright © Jun 11, 2009-2011 The Ferris Foundation. All Rights Reserved.