Enum Class ExtensionWebSocketCreationStatus
java.lang.Object
java.lang.Enum<ExtensionWebSocketCreationStatus>
burp.api.montoya.websocket.extension.ExtensionWebSocketCreationStatus
- All Implemented Interfaces:
Serializable
,Comparable<ExtensionWebSocketCreationStatus>
,Constable
Status of a WebSocket creation attempt
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUnable to connect to specified host.Specified host was invalid.Specified port was invalid.Specified upgrade request was invalid.Server returned a non-upgrade response.Specified endpoint is configured for streaming responses.WebSocket creation was successful.Unable to resolve address for specified host. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ExtensionWebSocketCreationStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
WebSocket creation was successful. -
INVALID_HOST
Specified host was invalid. -
UNKNOWN_HOST
Unable to resolve address for specified host. -
INVALID_PORT
Specified port was invalid. -
CONNECTION_FAILED
Unable to connect to specified host. -
INVALID_REQUEST
Specified upgrade request was invalid. -
NON_UPGRADE_RESPONSE
Server returned a non-upgrade response. -
STREAMING_RESPONSE
Specified endpoint is configured for streaming responses.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-