OpenSslSessionCache that is used by the client-side.
| Modifier and Type | Class and Description |
|---|---|
| private static class | OpenSslClientSessionCache.HostPort
Host / Port tuple used to find a |
| Modifier and Type | Field and Description |
|---|---|
| private final Map |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv synchronized void | clear()
Clear the cache and free all cached SSL_SESSION*.
|
| private static OpenSslClientSessionCache. | |
| protected boolean | sessionCreated(OpenSslSessionCache.
the new session. sessionOverrides io. OpenSslSession was created.
|
| protected void | sessionRemoved(OpenSslSessionCache.
the session to remove. sessionOverrides io. OpenSslSession was removed from the cache.
|
| pack-priv boolean | setSession(long ssl, OpenSslSession session, String host, int port)
Overrides io. |
| sessions | back to summary |
|---|---|
| private final Map<OpenSslClientSessionCache. | |
| OpenSslClientSessionCache | back to summary |
|---|---|
| pack-priv OpenSslClientSessionCache(OpenSslEngineMap engineMap) | |
| clear | back to summary |
|---|---|
| pack-priv synchronized void clear() Overrides io. Doc from io. Clear the cache and free all cached SSL_SESSION*.
| |
| keyFor | back to summary |
|---|---|
| private static OpenSslClientSessionCache. | |
| sessionCreated | back to summary |
|---|---|
| protected boolean sessionCreated(OpenSslSessionCache. Overrides io. Doc from io. Called once a new
| |
| sessionRemoved | back to summary |
|---|---|
| protected void sessionRemoved(OpenSslSessionCache. Overrides io. Doc from io. Called once an
| |
| setSession | back to summary |
|---|---|
| pack-priv boolean setSession(long ssl, OpenSslSession session, String host, int port) Overrides io.
| |
OpenSslSession in the cache.
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final String | |
| private final int |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public int | |
| public String |
| hash | back to summary |
|---|---|
| private final int hash | |
| host | back to summary |
|---|---|
| private final String host | |
| port | back to summary |
|---|---|
| private final int port | |
| HostPort | back to summary |
|---|---|
| pack-priv HostPort(String host, int port) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |