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 Transport
Transport.IP, Transport.Socket, Transport.TCPIP, Transport.TCPUnix, Transport.UDPIP, Transport.UDPUnix, Transport.Unix, Transport.Wrapper -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Transport
isIntrinsicallySecure, newConnection, newEndPoint, newSelectableChannel, requiresDomainNameResolution
-
Constructor Details
-
MemoryTransport
-
-
Method Details
-
connect
Description copied from interface:TransportEstablishes a connection to the given socket address.
For
Transports thatrequire domain name resolution, this is the IP address resolved from the domain name. ForTransports 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:
getSocketAddressin interfaceTransport- Returns:
- the socket address to connect to in case domain name resolution is not required
-
hashCode
-
equals
-