Class ReactiveResponse.Event
java.lang.Object
org.eclipse.jetty.reactive.client.ReactiveResponse.Event
- Enclosing class:
- ReactiveResponse
public static class ReactiveResponse.Event extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReactiveResponse.Event.Type -
Constructor Summary
Constructors Constructor Description Event(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
Modifier and Type Method Description ByteBuffergetContent()ThrowablegetFailure()ReactiveResponsegetResponse()ReactiveResponse.Event.TypegetType()
-
Constructor Details
-
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
-