public class HttpTunnelPayload extends ObjectSE
| 修飾子と型 | フィールドと説明 |
|---|---|
protected static char[] | HEX_CHARS |
| コンストラクターと説明 |
|---|
HttpTunnelPayload(long sequence, ByteBufferSE data) 新しい HttpTunnelPayload インスタンスを作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | assignTo(HttpOutputMessage message) このペイロードを指定された HttpOutputMessage に割り当てます。 |
static HttpTunnelPayload | get(HttpInputMessage message) 指定されたメッセージの HttpTunnelPayload を返します。ペイロードがない場合は null を返します。 |
static ByteBufferSE | getPayloadData(ReadableByteChannelSE channel) 指定されたソース ReadableByteChannelSE のペイロードデータを返します。読み取り中にチャネルがタイムアウトした場合は null を返します。 |
long | getSequence() ペイロードのシーケンス番号を返します。 |
void | logIncoming() 診断を支援するために、トレースレベルで受信ペイロード情報をログに記録します。 |
void | logOutgoing() 診断を支援するために、トレースレベルで受信ペイロード情報をログに記録します。 |
StringSE | toHexString() ペイロードを 16 進文字列として返します。 |
void | writeTo(WritableByteChannelSE channel) このペイロードのコンテンツを指定されたターゲットチャネルに書き込みます。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic HttpTunnelPayload(long sequence,
ByteBufferSE data)HttpTunnelPayload インスタンスを作成します。sequence - ペイロードのシーケンス番号 data - ペイロードデータ public long getSequence()
public void assignTo(HttpOutputMessage message) throws IOExceptionSE
HttpOutputMessage に割り当てます。message - このペイロードを割り当てるメッセージ IOExceptionSE - I/O エラーの場合 public void writeTo(WritableByteChannelSE channel) throws IOExceptionSE
channel - 書き込むチャネル IOExceptionSE - I/O エラーの場合 public static HttpTunnelPayload get(HttpInputMessage message) throws IOExceptionSE
HttpTunnelPayload を返します。ペイロードがない場合は null を返します。message - HTTP メッセージ nullIOExceptionSE - I/O エラーの場合 public static ByteBufferSE getPayloadData(ReadableByteChannelSE channel) throws IOExceptionSE
ReadableByteChannelSE のペイロードデータを返します。読み取り中にチャネルがタイムアウトした場合は null を返します。channel - ソースチャンネル nullIOExceptionSE - I/O エラーの場合 public void logIncoming()
public void logOutgoing()
public StringSE toHexString()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.