| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| protected byte[] | |
| protected byte[] | |
| protected short |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static HeartbeatMessage | |
| public static HeartbeatMessage | |
| public void | encode(OutputStream
the output)OutputStream to encode to.Encode this |
| public int | |
| public byte[] | |
| public short | |
| public static HeartbeatMessage | Returns: aHeartbeatMessage object.the input)InputStream to parse from.Parse a |
| padding | back to summary |
|---|---|
| protected byte[] padding | |
| payload | back to summary |
|---|---|
| protected byte[] payload | |
| type | back to summary |
|---|---|
| protected short type | |
| HeartbeatMessage | back to summary |
|---|---|
| public HeartbeatMessage(short type, byte[] payload, byte[] padding) | |
| create | back to summary |
|---|---|
| public static HeartbeatMessage create(TlsContext context, short type, byte[] payload) | |
| create | back to summary |
|---|---|
| public static HeartbeatMessage create(TlsContext context, short type, byte[] payload, int paddingLength) | |
| encode | back to summary |
|---|---|
| public void encode(OutputStream output) throws IOException Encode this
| |
| getPaddingLength | back to summary |
|---|---|
| public int getPaddingLength() | |
| getPayload | back to summary |
|---|---|
| public byte[] getPayload() | |
| getType | back to summary |
|---|---|
| public short getType() | |
| parse | back to summary |
|---|---|
| public static HeartbeatMessage parse(InputStream input) throws IOException Parse a
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv byte[] | |
| pack-priv byte[] |
| PayloadBuffer | back to summary |
|---|---|
| pack-priv PayloadBuffer() | |
| getPadding | back to summary |
|---|---|
| pack-priv byte[] getPadding(int payloadLength) | |
| getPayload | back to summary |
|---|---|
| pack-priv byte[] getPayload(int payloadLength) | |