|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tomcat.util.http.parser.HttpParser
public class HttpParser
Field Summary | |
---|---|
Token |
jj_nt
Next token. |
protected JJTHttpParserState |
jjtree
|
Token |
token
Current token. |
HttpParserTokenManager |
token_source
Generated Token Manager. |
Fields inherited from interface org.apache.tomcat.util.http.parser.HttpParserTreeConstants |
---|
JJTATTRIBUTE, JJTMEDIATYPE, jjtNodeName, JJTPARAMETER, JJTSUBTYPE, JJTTYPE, JJTVALUE |
Fields inherited from interface org.apache.tomcat.util.http.parser.HttpParserConstants |
---|
CHAR, DEFAULT, END_QUOTE, EOF, EQUALS, FORWARD_SLASH, HT, HTTP_TOKEN, HTTP_TOKEN_CHAR, IN_QUOTED_TEXT, LWS, QUOTED_STRING, QUOTED_TEXT, QUOTED_TEXT_CHAR, SEMI_COLON, SP, START_QUOTE, tokenImage |
Constructor Summary | |
---|---|
HttpParser(HttpParserTokenManager tm)
Constructor with generated Token Manager. |
|
HttpParser(InputStream stream)
Constructor with InputStream. |
|
HttpParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding |
|
HttpParser(Reader stream)
Constructor. |
Method Summary | |
---|---|
void |
Attribute()
|
void |
disable_tracing()
Disable tracing. |
void |
enable_tracing()
Enable tracing. |
ParseException |
generateParseException()
Generate ParseException. |
Token |
getNextToken()
Get the next Token. |
Token |
getToken(int index)
Get the specific Token. |
AstMediaType |
MediaType()
|
void |
Parameter()
|
void |
ReInit(HttpParserTokenManager tm)
Reinitialise. |
void |
ReInit(InputStream stream)
Reinitialise. |
void |
ReInit(InputStream stream,
String encoding)
Reinitialise. |
void |
ReInit(Reader stream)
Reinitialise. |
void |
SubType()
|
void |
Type()
|
void |
Value()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected JJTHttpParserState jjtree
public HttpParserTokenManager token_source
public Token token
public Token jj_nt
Constructor Detail |
---|
public HttpParser(InputStream stream)
public HttpParser(InputStream stream, String encoding)
public HttpParser(Reader stream)
public HttpParser(HttpParserTokenManager tm)
Method Detail |
---|
public final AstMediaType MediaType() throws ParseException
ParseException
public final void Type() throws ParseException
ParseException
public final void SubType() throws ParseException
ParseException
public final void Parameter() throws ParseException
ParseException
public final void Attribute() throws ParseException
ParseException
public final void Value() throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(HttpParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |