org.glassfish.internal.embedded
Interface Port
@Contract
public interface Port
Port abstraction, used to bind several containers to the same port.
- Author:
- Jerome Dochez
|
Method Summary |
void |
close()
Unbinds (close) this port instance, releasing network resources at portNumber |
int |
getPortNumber()
Returns the port number occupied by this instance. |
HTTP_PROTOCOL
static final String HTTP_PROTOCOL
- See Also:
- Constant Field Values
HTTPS_PROTOCOL
static final String HTTPS_PROTOCOL
- See Also:
- Constant Field Values
IIOP_PROTOCOL
static final String IIOP_PROTOCOL
- See Also:
- Constant Field Values
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
Copyright © 2012 GlassFish Community. All Rights Reserved.