com.opensymphony.module.sitemesh.filter
Class HttpContentType
java.lang.Object
com.opensymphony.module.sitemesh.filter.HttpContentType
public class HttpContentType
- extends Object
Extracts the type and encoding from an HTTP Content-Type header.
- Author:
- Scott Farquhar
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
private final String type
encoding
private final String encoding
HttpContentType
public HttpContentType(String fullValue)
extractContentTypeValue
private String extractContentTypeValue(String type,
int startIndex)
getType
public String getType()
getEncoding
public String getEncoding()