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 Transport
Transport.IP, Transport.Socket, Transport.TCPIP, Transport.TCPUnix, Transport.UDPIP, Transport.UDPUnix, Transport.Unix, Transport.Wrapper -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether thisTransportrequires resolution of domain names.Methods inherited from class Transport.Socket
connect, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Transport
equals, getSocketAddress, hashCode, isIntrinsicallySecure, newConnection, newEndPoint, newSelectableChannel
-
Constructor Details
-
IP
public IP()
-
-
Method Details
-
requiresDomainNameResolution
public boolean requiresDomainNameResolution()Description copied from interface:TransportReturns whether this
Transportrequires 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
Transportrequires domain names resolution
-