java.lang.Object | |||
↳ | java.util.AbstractMap<K, V> | ||
↳ | java.util.concurrent.ConcurrentHashMap<K, V> | ||
↳ | sun.net.www.http.KeepAliveCache |
A class that implements a cache of idle Http connections for keep-alive
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Check to see if this URL has a cached HttpClient
| |||||||||||
Register this URL and HttpClient (that supports keep-alive) with the cache
| |||||||||||
When an object implementing interface
Runnable is used
to create a thread, starting the thread causes the object's
run method to be called in that separately executing
thread. |
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||
![]()
|
Constructor
Check to see if this URL has a cached HttpClient
Register this URL and HttpClient (that supports keep-alive) with the cache
url | The URL contains info about the host and port |
---|---|
http | The HttpClient to be cached |
When an object implementing interface Runnable
is used
to create a thread, starting the thread causes the object's
run
method to be called in that separately executing
thread.
The general contract of the method run
is that it may
take any action whatsoever.