Package io.undertow.annotationprocessor
Interface AbstractParserGenerator.CustomStateMachine
- All Known Implementing Classes:
RequestParserGenerator.HeaderStateMachine,RequestParserGenerator.VersionStateMachine
- Enclosing class:
- AbstractParserGenerator
public static interface AbstractParserGenerator.CustomStateMachine
A class that separates out the different behaviour of the three state machines (VERB, VERSION and HEADER)
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleOtherToken(org.jboss.classfilewriter.code.CodeAttribute c) voidhandleStateMachineMatchedToken(org.jboss.classfilewriter.code.CodeAttribute c) booleanbooleanisHeader()voidupdateParseState(org.jboss.classfilewriter.code.CodeAttribute c)
-
Method Details
-
isHeader
boolean isHeader() -
handleStateMachineMatchedToken
void handleStateMachineMatchedToken(org.jboss.classfilewriter.code.CodeAttribute c) -
handleOtherToken
void handleOtherToken(org.jboss.classfilewriter.code.CodeAttribute c) -
updateParseState
void updateParseState(org.jboss.classfilewriter.code.CodeAttribute c) -
initialNewlineMeansRequestDone
boolean initialNewlineMeansRequestDone()
-