Package sunlabs.brazil.util.http
Class HttpSocket
java.lang.Object
sunlabs.brazil.util.http.HttpSocket
This class is used as the bag of information kept about a open, idle
socket. It is not meant to be used externally by anyone except someone
writing a new implementation of an
HttpSocketPool
for
the HttpRequest
object.
This class should not be visible at this scope. It is only here until a better place for it is found.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
host
-
port
public int port -
firstTime
public boolean firstTime -
lastUsed
public long lastUsed -
timesUsed
public int timesUsed -
sock
-
in
-
out
-
-
Constructor Details
-
HttpSocket
- Throws:
IOException
UnknownHostException
-
-
Method Details