站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

HTTPStreamInfo - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.server.util
Class HTTPStreamInfo

java.lang.Object
  extended byorg.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

Field Summary
private  java.lang.String charset
          The charset.
private  MediaType contentType
          The content type.
 
Constructor Summary
HTTPStreamInfo(MediaType contentType, java.lang.String charset)
           
 
Method Summary
 java.lang.String getCharset()
           
 MediaType getContentType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contentType

private final MediaType contentType
The content type.


charset

private final java.lang.String charset
The charset.

Constructor Detail

HTTPStreamInfo

public HTTPStreamInfo(MediaType contentType,
                      java.lang.String charset)
Method Detail

getContentType

public MediaType getContentType()

getCharset

public java.lang.String getCharset()