public class ClearScrollRequest extends ActionRequest<ClearScrollRequest>
TransportRequest.Emptyheaders| Constructor and Description |
|---|
ClearScrollRequest() |
ClearScrollRequest(ActionRequest request)
Creates a clear scroll request caused by some other request, which is provided as an
argument so that its headers and context can be copied to the new request
|
| Modifier and Type | Method and Description |
|---|---|
void |
addScrollId(String scrollId) |
List<String> |
getScrollIds() |
void |
readFrom(StreamInput in) |
List<String> |
scrollIds() |
void |
scrollIds(List<String> scrollIds) |
void |
setScrollIds(List<String> scrollIds) |
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out) |
createTask, getDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic ClearScrollRequest()
public ClearScrollRequest(ActionRequest request)
public void addScrollId(String scrollId)
public ActionRequestValidationException validate()
validate in class ActionRequest<ClearScrollRequest>public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class ActionRequest<ClearScrollRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class ActionRequest<ClearScrollRequest>IOExceptionCopyright © 2009–2017. All rights reserved.