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 class
ReactiveResponse.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 ByteBuffer
getContent()
Throwable
getFailure()
ReactiveResponse
getResponse()
ReactiveResponse.Event.Type
getType()
-
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
-