org.glassfish.grizzly.http
Interface HttpPacket

All Superinterfaces:
Cacheable
All Known Implementing Classes:
HttpContent, HttpHeader, HttpRequestPacket, HttpResponsePacket, HttpTrailer

public interface HttpPacket
extends Cacheable

Abstraction, which represents any type of HTTP message: HttpRequestPacket, HttpResponsePacket, HttpContent.

Author:
Alexey Stashok
See Also:
HttpRequestPacket, HttpResponsePacket, HttpContent

Method Summary
 boolean isHeader()
          Returns true, if this HTTP message represents HTTP messsage header, or false otherwise.
 
Methods inherited from interface org.glassfish.grizzly.Cacheable
recycle
 

Method Detail

isHeader

boolean isHeader()
Returns true, if this HTTP message represents HTTP messsage header, or false otherwise.

Returns:
true, if this HTTP message represents HTTP messsage header, or false otherwise.


Copyright © 2010 Oracle Corpration. All Rights Reserved.