public class BytesTransportRequest extends TransportRequest
TransportRequest.Emptyheaders| コンストラクタと説明 |
|---|
BytesTransportRequest() |
BytesTransportRequest(BytesReference bytes,
Version version) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
BytesReference |
bytes() |
void |
readFrom(StreamInput in) |
Version |
version() |
void |
writeThin(StreamOutput out)
Writes the data in a "thin" manner, without the actual bytes, assumes
the actual bytes will be appended right after this content.
|
void |
writeTo(StreamOutput out) |
createTask, getDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic BytesTransportRequest()
public BytesTransportRequest(BytesReference bytes, Version version)
public Version version()
public BytesReference bytes()
public void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 TransportMessage<TransportRequest>IOExceptionpublic void writeThin(StreamOutput out) throws IOException
IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 TransportMessage<TransportRequest>IOExceptionCopyright © 2009–2016. All rights reserved.