com.jproxy.proxy.servlet
Class TunnelHttpClient
java.lang.Object
|
+--sun.net.NetworkClient
|
+--sun.net.www.http.HttpClient
|
+--com.jproxy.proxy.servlet.TunnelHttpClient
- public class TunnelHttpClient
- extends sun.net.www.http.HttpClient
Fields inherited from class sun.net.www.http.HttpClient |
proxyHost, proxyPort, usingProxy |
Fields inherited from class sun.net.NetworkClient |
serverInput, serverOutput |
Methods inherited from class sun.net.www.http.HttpClient |
finished, getHttpKeepAliveSet, getProxyHostUsed, getProxyPortUsed, getURLFile, isKeepingAlive, New, openServer, parseHTTP, resetProperties, toString, writeRequests |
Methods inherited from class sun.net.NetworkClient |
serverIsOpen |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TunnelHttpClient
public TunnelHttpClient(java.net.URL url,
java.lang.String proxy,
int proxyPort)
throws java.io.IOException
TunnelHttpClient
public TunnelHttpClient(java.net.URL url)
throws java.io.IOException
SetTimeout
public void SetTimeout(int i)
throws java.net.SocketException
GetNew
public static TunnelHttpClient GetNew(java.net.URL url)
throws java.io.IOException
Close
public void Close()
throws java.io.IOException
GetSocket
public java.net.Socket GetSocket()
closeServer
public void closeServer()
- Overrides:
closeServer
in class sun.net.www.http.HttpClient
getOutputStream
public java.io.OutputStream getOutputStream()
- Overrides:
getOutputStream
in class sun.net.www.http.HttpClient
getInputStream
public java.io.InputStream getInputStream()
- Overrides:
getInputStream
in class sun.net.www.http.HttpClient
Copyright © JProxy LLC. All Rights Reserved.