public class WatchResponse extends AbstractResponse<WatchResponse>
Response.Header| Constructor and Description |
|---|
WatchResponse(WatchResponse response) |
WatchResponse(WatchResponse response,
ByteSequence namespace) |
| Modifier and Type | Method and Description |
|---|---|
List<WatchEvent> |
getEvents() |
boolean |
isProgressNotify() |
static boolean |
isProgressNotify(WatchResponse response)
returns true if the WatchResponse is progress notification.
|
getHeader, getResponse, getResponseHeader, toStringpublic WatchResponse(WatchResponse response, ByteSequence namespace)
public WatchResponse(WatchResponse response)
public List<WatchEvent> getEvents()
public boolean isProgressNotify()
public static boolean isProgressNotify(WatchResponse response)
Copyright © 2021. All rights reserved.