|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.http.ProcessingState
public final class ProcessingState
Maintains semantic state necessary to proper HTTP processing.
| Constructor Summary | |
|---|---|
ProcessingState()
|
|
| Method Summary | |
|---|---|
boolean |
isError()
This flag indicates whether error occurred during the HTTP processing. |
boolean |
isKeepAlive()
This flag controls the connection keep-alive feature. |
boolean |
isStayAlive()
Method returns true only if the connection is in keep-alive mode and there was no error occurred during the packet processing. |
void |
recycle()
Resets values to their initial states. |
void |
setError(boolean error)
This flag indicates whether error occurred during the HTTP processing. |
void |
setKeepAlive(boolean keepAlive)
This flag controls the connection keep-alive feature. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessingState()
| Method Detail |
|---|
public boolean isError()
This flag indicates whether error occurred during the HTTP processing.
public void setError(boolean error)
This flag indicates whether error occurred during the HTTP processing.
error - true, if error occurred during the HTTP processing, or
false otherwise.public boolean isStayAlive()
Method returns true only if the connection is in keep-alive mode and there was no error occurred during the packet processing.
public boolean isKeepAlive()
This flag controls the connection keep-alive feature.
public void setKeepAlive(boolean keepAlive)
This flag controls the connection keep-alive feature.
keepAlive - true if connection may work in keep-alive mode or false otherwise.public void recycle()
Resets values to their initial states.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||