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