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.


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
 

Constructor Detail

HTTPStreamInfo

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

getContentType

public MediaType getContentType()

getCharset

public java.lang.String getCharset()