Package org.eclipse.jetty.io
Class Transport.IP
java.lang.Object
org.eclipse.jetty.io.Transport.Socket
org.eclipse.jetty.io.Transport.IP
- All Implemented Interfaces:
Transport
- Direct Known Subclasses:
Transport.TCPIP
,Transport.UDPIP
- Enclosing interface:
- Transport
Abstract implementation of Transport
based on IP.
-
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
Modifier and TypeMethodDescriptionboolean
Returns whether thisTransport
requires resolution of domain names.Methods inherited from class org.eclipse.jetty.io.Transport.Socket
connect, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.io.Transport
equals, getSocketAddress, hashCode, isIntrinsicallySecure, newConnection, newEndPoint, newSelectableChannel
-
Constructor Details
-
IP
public IP()
-
-
Method Details
-
requiresDomainNameResolution
public boolean requiresDomainNameResolution()Description copied from interface:Transport
Returns whether this
Transport
requires resolution of domain names.When domain name resolution is required, it must be performed by an external service, and the value returned by
Transport.getSocketAddress()
is ignored, while the resolved socket address is eventually passed toTransport.connect(SocketAddress, Map)
. Otherwise, domain name resolution is not required, and the value returned byTransport.getSocketAddress()
is eventually passed toTransport.connect(SocketAddress, Map)
.- Returns:
- whether this
Transport
requires domain names resolution
-