APIdia Launch Partner
Top Fields Constructors Methods
sun.net.www.http

pack-priv Class KeepAliveKey

Located in compilation unit of sun.net.www.http.KeepAliveCache.

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final String
private final Object
private final int
private final String

Constructor Summary

AccessConstructor and Description
public
KeepAliveKey(URL
the URL containing the protocol, host and port information
url
,
Object obj)

Constructor

Method Summary

Modifier and TypeMethod and Description
public boolean
equals(Object obj)

Overrides java.lang.Object.equals.

Determine whether or not two objects of this type are equal

public int
hashCode()

Overrides java.lang.Object.hashCode.

The hashCode() for this object is the string hashCode() of concatenation of the protocol, host name and port.

Inherited from java.lang.Object:
clonefinalizegetClassnotifynotifyAlltoStringwaitwaitwait

Field Detail

hostback to summary
private final String host
objback to summary
private final Object obj
portback to summary
private final int port
protocolback to summary
private final String protocol

Constructor Detail

KeepAliveKeyback to summary
public KeepAliveKey(URL url, Object obj)

Constructor

Parameters
url:URL

the URL containing the protocol, host and port information

Method Detail

equalsback to summary
public boolean equals(Object obj)

Overrides java.lang.Object.equals.

Determine whether or not two objects of this type are equal

Annotations
@Override
hashCodeback to summary
public int hashCode()

Overrides java.lang.Object.hashCode.

The hashCode() for this object is the string hashCode() of concatenation of the protocol, host name and port.

Annotations
@Override