Package org.glassfish.internal.embedded
Interface Port
@Contract
public interface Port
Port abstraction, used to bind several containers to the same port.
- Author:
- Jerome Dochez
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Unbinds (close) this port instance, releasing network resources at portNumberintReturns the port number occupied by this instance.
-
Field Details
-
HTTP_PROTOCOL
- See Also:
-
HTTPS_PROTOCOL
- See Also:
-
IIOP_PROTOCOL
- See Also:
-
-
Method Details
-
getPortNumber
int getPortNumber()Returns the port number occupied by this instance.- Returns:
- port number
-
close
void close()Unbinds (close) this port instance, releasing network resources at portNumber
-