|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openxri.http.BaseFetcher
public abstract class BaseFetcher
This class provides an abstract base class for X2RFetcher and Resolver. It provides members for storing SSL and redirect information.
Field Summary | |
---|---|
static java.lang.String |
HTTP
|
static java.lang.String |
HTTPS
|
protected int |
maxFollowRedirects
the maximum number of HTTP redirects to follow. |
protected javax.net.ssl.SSLSocketFactory |
moSocketFactory
the SSL socket factory to use |
Constructor Summary | |
---|---|
protected |
BaseFetcher()
Default constructor |
Method Summary | |
---|---|
int |
getMaxFollowRedirects()
Returns the number of redirects to follow. |
javax.net.ssl.SSLSocketFactory |
getSSLSocketFactory()
Gets the SSL SocketFactory being used |
void |
setMaxFollowRedirects(int nMaxFollowRedirects)
Sets the number of redirects to follow. |
void |
setSSLSocketFactory(javax.net.ssl.SSLSocketFactory oSocketFactory)
Sets the SSL SocketFactory to use |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String HTTP
public static final java.lang.String HTTPS
protected int maxFollowRedirects
protected javax.net.ssl.SSLSocketFactory moSocketFactory
Constructor Detail |
---|
protected BaseFetcher()
Method Detail |
---|
public javax.net.ssl.SSLSocketFactory getSSLSocketFactory()
public void setSSLSocketFactory(javax.net.ssl.SSLSocketFactory oSocketFactory)
public int getMaxFollowRedirects()
public void setMaxFollowRedirects(int nMaxFollowRedirects)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |