- <init>
Constructs a new Protocol. Whether the created protocol is secure depends on the
class of factory.
- registerProtocol
Registers a new protocol with the given identifier. If a protocol with the given
ID already exists i
- getProtocol
Gets the protocol with the given ID.
- getScheme
Returns the scheme.
- getDefaultPort
Returns the defaultPort.
- getSocketFactory
Returns the socketFactory. If secure the factory is a
SecureProtocolSocketFactory.
- equals
Return true if the specified object equals this object.
- isSecure
Returns true if this protocol is secure
- resolvePort
Resolves the correct port for this protocol. Returns the given port if valid or
the default port oth
- hashCode
Return a hash code for this object
- lazyRegisterProtocol
Lazily registers the protocol with the given id.
- unregisterProtocol
Unregisters the protocol with the given ID.