Package org.eclipse.jetty.server
Class MemoryTransport
java.lang.Object
org.eclipse.jetty.server.MemoryTransport
- All Implemented Interfaces:
Transport
A Transport
suitable to be used when using a MemoryConnector
.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.Transport
Transport.IP, Transport.Socket, Transport.TCPIP, Transport.TCPUnix, Transport.UDPIP, Transport.UDPUnix, Transport.Unix, Transport.Wrapper
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.io.Transport
isIntrinsicallySecure, newConnection, newEndPoint, newSelectableChannel, requiresDomainNameResolution
-
Constructor Details
-
MemoryTransport
-
-
Method Details
-
connect
Description copied from interface:Transport
Establishes a connection to the given socket address.
For
Transport
s thatrequire domain name resolution
, this is the IP address resolved from the domain name. ForTransport
s that do not require domain name resolution (for example Unix-Domain sockets, or memory) this is the socket address to connect to. -
getSocketAddress
- Specified by:
getSocketAddress
in interfaceTransport
- Returns:
- the socket address to connect to in case domain name resolution is not required
-
hashCode
public int hashCode() -
equals
-