当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
HTTPStreamInfo - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.server.util
Class HTTPStreamInfo
java.lang.Object
org.jboss.portal.server.util.HTTPStreamInfo
- public class HTTPStreamInfo
- extends java.lang.Object
The info about how the content of an HTTP stream should be interpreted.
- Version:
- $Revision: 5448 $
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contentType
private final MediaType contentType
- The content type.
charset
private final java.lang.String charset
- The charset.
HTTPStreamInfo
public HTTPStreamInfo(MediaType contentType,
java.lang.String charset)
getContentType
public MediaType getContentType()
getCharset
public java.lang.String getCharset()