|
|||||||||
Home >> All >> gnu >> javax >> net >> ssl >> [ provider overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
gnu.javax.net.ssl.provider
Class Alert.Level

java.lang.Objectgnu.javax.net.ssl.provider.Alert.Level
- All Implemented Interfaces:
- Enumerated
- Enclosing class:
- Alert
- static final class Alert.Level
- extends java.lang.Object
- implements Enumerated
- extends java.lang.Object
The level enumeration.
enum { warning(1), fatal(2), (255) } AlertLevel;
Field Summary | |
(package private) static Alert.Level |
FATAL
|
private int |
value
|
(package private) static Alert.Level |
WARNING
|
Constructor Summary | |
private |
Alert.Level(int value)
|
Method Summary | |
byte[] |
getEncoded()
Returns the encoded value of this enumerated value, which is appropriate to send over-the-wire. |
int |
getValue()
Returns the numeric value of this enumerated value. |
(package private) static Alert.Level |
read(java.io.InputStream in)
|
java.lang.String |
toString()
Returns a string representation of this enumerated value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
WARNING
static final Alert.Level WARNING
FATAL
static final Alert.Level FATAL
value
private final int value
Constructor Detail |
Alert.Level
private Alert.Level(int value)
Method Detail |
read
static Alert.Level read(java.io.InputStream in) throws java.io.IOException
getEncoded
public byte[] getEncoded()
- Description copied from interface:
Enumerated
- Returns the encoded value of this enumerated value, which is
appropriate to send over-the-wire.
- Specified by:
getEncoded
in interfaceEnumerated
getValue
public int getValue()
- Description copied from interface:
Enumerated
- Returns the numeric value of this enumerated value.
- Specified by:
getValue
in interfaceEnumerated
toString
public java.lang.String toString()
- Description copied from interface:
Enumerated
- Returns a string representation of this enumerated value.
- Specified by:
toString
in interfaceEnumerated
|
|||||||||
Home >> All >> gnu >> javax >> net >> ssl >> [ provider overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |