Apache Tomcat 7.0.27

org.apache.tomcat.util.http.parser
Class AstMediaType

java.lang.Object
  extended by org.apache.tomcat.util.http.parser.SimpleNode
      extended by org.apache.tomcat.util.http.parser.AstMediaType
All Implemented Interfaces:
Node

public class AstMediaType
extends SimpleNode

Represents a media-type as per section 3.7 of RFC 2616. Originally generated by JJTree.


Field Summary
 
Fields inherited from class org.apache.tomcat.util.http.parser.SimpleNode
children, id, parent, parser, value
 
Constructor Summary
AstMediaType(HttpParser p, int id)
           
AstMediaType(int id)
           
 
Method Summary
 java.lang.String getCharset()
           
 java.lang.String toString()
           
 java.lang.String toStringNoCharset()
           
 
Methods inherited from class org.apache.tomcat.util.http.parser.SimpleNode
dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AstMediaType

public AstMediaType(int id)

AstMediaType

public AstMediaType(HttpParser p,
                    int id)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class SimpleNode

toStringNoCharset

public java.lang.String toStringNoCharset()

getCharset

public java.lang.String getCharset()

Apache Tomcat 7.0.27

Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.