to.etc.domui.server.parts
Class PartResponse
java.lang.Object
to.etc.domui.server.parts.PartResponse
public class PartResponse
- extends java.lang.Object
Describes the response for a part.
- Author:
- Frits Jalvingh
Created on Jan 13, 2009
Method Summary |
int |
getCacheTime()
The time the response may be cached by the browser without inquiry, in seconds. |
java.lang.String |
getMime()
|
java.io.OutputStream |
getOutputStream()
|
void |
setCacheTime(int cacheTime)
Set the time the response may be cached by the browser without inquiry, in seconds. |
void |
setMime(java.lang.String mime)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartResponse
public PartResponse(java.io.OutputStream os)
getOutputStream
public java.io.OutputStream getOutputStream()
getMime
public java.lang.String getMime()
setMime
public void setMime(java.lang.String mime)
getCacheTime
public int getCacheTime()
- The time the response may be cached by the browser without inquiry, in seconds.
- Returns:
setCacheTime
public void setCacheTime(int cacheTime)
- Set the time the response may be cached by the browser without inquiry, in seconds.
- Parameters:
cacheTime
-