Class ServiceFrame
java.lang.Object
org.glassfish.grizzly.spdy.frames.SpdyFrame
org.glassfish.grizzly.spdy.frames.ServiceFrame
- All Implemented Interfaces:
org.glassfish.grizzly.Cacheable
- Direct Known Subclasses:
OversizedFrame
Service frames represent virtual, not real SPDY frames,
used internally in
Filters communication.- Author:
- Alexey Stashok
-
Nested Class Summary
Nested classes/interfaces inherited from class org.glassfish.grizzly.spdy.frames.SpdyFrame
SpdyFrame.SpdyFrameBuilder<T extends SpdyFrame.SpdyFrameBuilder> -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract intReturns the service code.booleanReturns true if this is a service frame (not real SpdyFrame), or false otherwise.org.glassfish.grizzly.BuffertoBuffer(org.glassfish.grizzly.memory.MemoryManager memoryManager)
-
Constructor Details
-
ServiceFrame
public ServiceFrame()
-
-
Method Details
-
toBuffer
public org.glassfish.grizzly.Buffer toBuffer(org.glassfish.grizzly.memory.MemoryManager memoryManager) -
isService
public boolean isService()Returns true if this is a service frame (not real SpdyFrame), or false otherwise. -
getServiceCode
public abstract int getServiceCode()Returns the service code.
-