public abstract class HttpPacket extends java.lang.Object implements Cacheable
HttpRequestPacket,
HttpResponsePacket, HttpContent.HttpRequestPacket,
HttpResponsePacket,
HttpContent| Constructor and Description |
|---|
HttpPacket() |
| Modifier and Type | Method and Description |
|---|---|
abstract HttpHeader |
getHttpHeader()
Get the HTTP message header, associated with this HTTP packet.
|
abstract boolean |
isHeader()
Returns true, if this HTTP message represents HTTP message header,
or false otherwise.
|
static boolean |
isHttp(java.lang.Object packet)
Returns true if passed
Object is a HttpPacket. |
public static boolean isHttp(java.lang.Object packet)
Object is a HttpPacket.packet - Object is a HttpPacket.public abstract boolean isHeader()
public abstract HttpHeader getHttpHeader()
HttpHeader.Copyright © 2018 Oracle Corporation. All Rights Reserved.