public class CreateSnapshotResponse extends ActionResponse implements ToXContent
TransportResponse.EmptyToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsheadersEMPTY_PARAMS| 修飾子とタイプ | メソッドと説明 |
|---|---|
SnapshotInfo |
getSnapshotInfo()
Returns snapshot information if snapshot was completed by the time this method returned or null otherwise.
|
void |
readFrom(StreamInput in) |
RestStatus |
status()
Returns HTTP status
RestStatus.ACCEPTED if snapshot is still in progress
RestStatus.OK if snapshot was successful or partially successful
RestStatus.INTERNAL_SERVER_ERROR if snapshot failed completely
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic SnapshotInfo getSnapshotInfo()
public void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 ActionResponseIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 ActionResponseIOExceptionpublic RestStatus status()
RestStatus.ACCEPTED if snapshot is still in progressRestStatus.OK if snapshot was successful or partially successfulRestStatus.INTERNAL_SERVER_ERROR if snapshot failed completelypublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionCopyright © 2009–2016. All rights reserved.