|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ImmutableListenerInterface
Objects of this type only contain immutable methods.
| Field Summary | |
|---|---|
static java.lang.String |
PROTOCOL_STR_TYPE_HTTP
The constant for the HTTP protocol. |
static java.lang.String |
PROTOCOL_STR_TYPE_HTTPS
The constant for the HTTP protocol. |
static java.lang.String |
PROTOCOL_STR_TYPE_RAW_TCP
The constant for a custom protocol based on TCP. |
static java.lang.String |
PROTOCOL_STR_TYPE_RAW_UNIX
The constant for the HTTP protocol. |
static java.lang.String |
PROTOCOL_STR_TYPE_SOCKS
The constant for the HTTP protocol. |
static java.lang.String |
PROTOCOL_STR_TYPE_UNKNOWN
The constant for the 'unknown' protocol. |
static int |
PROTOCOL_TYPE_HTTP
|
static int |
PROTOCOL_TYPE_HTTPS
|
static int |
PROTOCOL_TYPE_RAW_TCP
|
static int |
PROTOCOL_TYPE_RAW_UNIX
|
static int |
PROTOCOL_TYPE_SOCKS
|
static int |
PROTOCOL_TYPE_UNKNOWN
|
| Method Summary | |
|---|---|
java.lang.String |
getHost()
Get the host (hostname or IP) of this interface as a String. |
int |
getPort()
Get the port of this interface. |
int |
getProtocol()
Gets the protocol of this ListenerInterface. |
boolean |
isValid()
Get the validity of this interface. |
| Field Detail |
|---|
static final java.lang.String PROTOCOL_STR_TYPE_UNKNOWN
static final int PROTOCOL_TYPE_UNKNOWN
static final java.lang.String PROTOCOL_STR_TYPE_HTTP
static final int PROTOCOL_TYPE_HTTP
static final java.lang.String PROTOCOL_STR_TYPE_HTTPS
static final int PROTOCOL_TYPE_HTTPS
static final java.lang.String PROTOCOL_STR_TYPE_RAW_UNIX
static final int PROTOCOL_TYPE_RAW_UNIX
static final java.lang.String PROTOCOL_STR_TYPE_SOCKS
static final int PROTOCOL_TYPE_SOCKS
static final java.lang.String PROTOCOL_STR_TYPE_RAW_TCP
static final int PROTOCOL_TYPE_RAW_TCP
| Method Detail |
|---|
int getProtocol()
java.lang.String getHost()
int getPort()
boolean isValid()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||