org.glassfish.grizzly.http
Class HttpCodecFilter.HeaderParsingState

java.lang.Object
  extended by org.glassfish.grizzly.http.HttpCodecFilter.HeaderParsingState
Enclosing class:
HttpCodecFilter

protected static final class HttpCodecFilter.HeaderParsingState
extends Object


Field Summary
 int checkpoint
           
 int checkpoint2
           
 HttpCodecFilter codecFilter
           
 int contentLengthHeadersCount
           
 boolean contentLengthsDiffer
           
 DataChunk headerValueStorage
           
 boolean isContentLengthHeader
           
 boolean isTransferEncodingHeader
           
 boolean isUpgradeHeader
           
 int offset
           
 int packetLimit
           
 long parsingNumericValue
           
 int start
           
 int state
           
 int subState
           
 
Constructor Summary
protected HttpCodecFilter.HeaderParsingState()
           
 
Method Summary
 void checkOverflow(String errorDescriptionIfOverflow)
           
 void initialize(HttpCodecFilter codecFilter, int initialOffset, int maxHeaderSize)
           
 void recycle()
           
 void set(int state, int subState, int start, int offset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

packetLimit

public int packetLimit

state

public int state

subState

public int subState

start

public int start

offset

public int offset

checkpoint

public int checkpoint

checkpoint2

public int checkpoint2

headerValueStorage

public DataChunk headerValueStorage

codecFilter

public HttpCodecFilter codecFilter

parsingNumericValue

public long parsingNumericValue

isContentLengthHeader

public boolean isContentLengthHeader

contentLengthHeadersCount

public int contentLengthHeadersCount

contentLengthsDiffer

public boolean contentLengthsDiffer

isTransferEncodingHeader

public boolean isTransferEncodingHeader

isUpgradeHeader

public boolean isUpgradeHeader
Constructor Detail

HttpCodecFilter.HeaderParsingState

protected HttpCodecFilter.HeaderParsingState()
Method Detail

initialize

public void initialize(HttpCodecFilter codecFilter,
                       int initialOffset,
                       int maxHeaderSize)

set

public void set(int state,
                int subState,
                int start,
                int offset)

recycle

public void recycle()

checkOverflow

public final void checkOverflow(String errorDescriptionIfOverflow)


Copyright © 2012 Oracle Corporation. All Rights Reserved.