|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.humatic.dsj.src.HTTPConnector
public abstract class HTTPConnector
HTTPConnector is a (simple) equivalent to java's SocketFactory for HttpURLConnections. dsj's default implementation
will just call url.openConnection() to create connections for NetworkSource subclasses, but you can extend this baseclass
and override the abstract createConnection method to provide source classes that use HttpURLConnections with connections
tunnelled via proxy servers etc.
No higher level proxy support has been implemented, because proxy related api in the java.net classes changed a lot between
jdk 1.4 (that dsj is to remain compatible with) and later versions.
| Constructor Summary | |
|---|---|
HTTPConnector()
|
|
| Method Summary | |
|---|---|
abstract java.net.HttpURLConnection |
createConnection(java.net.URL forURL)
This method will be called by sources to create HttpURLConnections |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HTTPConnector()
| Method Detail |
|---|
public abstract java.net.HttpURLConnection createConnection(java.net.URL forURL)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||