Class ReactiveResponse.Event
java.lang.Object
org.eclipse.jetty.reactive.client.ReactiveResponse.Event
- Enclosing class:
- ReactiveResponse
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionEvent(ReactiveResponse.Event.Type type, ReactiveResponse response)
Event(ReactiveResponse.Event.Type type, ReactiveResponse response, Throwable failure)
Event(ReactiveResponse.Event.Type type, ReactiveResponse response, ByteBuffer content)
-
Method Summary
-
Constructor Details
-
Event
-
Event
-
Event
-
-
Method Details
-
getType
- Returns:
- the event type
-
getResponse
- Returns:
- the response that generated this event
-
getContent
- Returns:
- the event content, or null if this is not a content event
-
getFailure
- Returns:
- the event failure, or null if this is not a failure event
-