Uses of Class
java.net.InetSocketAddress
Packages that use InetSocketAddress
Package
Description
Provides a simple high-level Http server API, which can be used to build
embedded HTTP servers.
Provides a pluggable service provider interface, which allows the HTTP server
implementation to be replaced with other implementations.
Provides the classes for implementing networking applications.
-
Uses of InetSocketAddress in com.sun.net.httpserver
Methods in com.sun.net.httpserver that return InetSocketAddressModifier and TypeMethodDescriptionabstract InetSocketAddressHttpServer.getAddress()Returns the address this server is listening onabstract InetSocketAddressHttpsParameters.getClientAddress()Returns the address of the remote client initiating the connection.abstract InetSocketAddressHttpExchange.getLocalAddress()Returns the local address on which the request was received.abstract InetSocketAddressHttpExchange.getRemoteAddress()Returns the address of the remote entity invoking this request.Methods in com.sun.net.httpserver with parameters of type InetSocketAddressModifier and TypeMethodDescriptionabstract voidHttpServer.bind(InetSocketAddress addr, int backlog) Binds a currently unboundHttpServerto the given address and port number.static HttpServerHttpServer.create(InetSocketAddress addr, int backlog) Create aHttpServerinstance which will bind to the specifiedInetSocketAddress(IP address and port number).static HttpsServerHttpsServer.create(InetSocketAddress addr, int backlog) Create aHttpsServerinstance which will bind to the specifiedInetSocketAddress(IP address and port number). -
Uses of InetSocketAddress in com.sun.net.httpserver.spi
Methods in com.sun.net.httpserver.spi with parameters of type InetSocketAddressModifier and TypeMethodDescriptionabstract HttpServerHttpServerProvider.createHttpServer(InetSocketAddress addr, int backlog) creates a HttpServer from this providerabstract HttpsServerHttpServerProvider.createHttpsServer(InetSocketAddress addr, int backlog) creates a HttpsServer from this provider -
Uses of InetSocketAddress in java.net
Methods in java.net that return InetSocketAddressModifier and TypeMethodDescriptionstatic InetSocketAddressInetSocketAddress.createUnresolved(String host, int port) Creates an unresolved socket address from a hostname and a port number.Methods in java.net with parameters of type InetSocketAddressModifier and TypeMethodDescriptionstatic ProxySelectorProxySelector.of(InetSocketAddress proxyAddress) Returns a ProxySelector which uses the given proxy address for all HTTP and HTTPS requests.