org.xwiki.container.servlet
Class ServletResponse
java.lang.Object
org.xwiki.container.servlet.ServletResponse
- All Implemented Interfaces:
- Response
public class ServletResponse
- extends Object
- implements Response
|
Constructor Summary |
ServletResponse(javax.servlet.http.HttpServletResponse httpServletResponse)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletResponse
public ServletResponse(javax.servlet.http.HttpServletResponse httpServletResponse)
getHttpServletResponse
public javax.servlet.http.HttpServletResponse getHttpServletResponse()
getOutputStream
public OutputStream getOutputStream()
throws IOException
-
- Specified by:
getOutputStream in interface Response
- Throws:
IOException
setContentLength
public void setContentLength(int length)
-
- Specified by:
setContentLength in interface Response
setContentType
public void setContentType(String mimeType)
-
- Specified by:
setContentType in interface Response
Copyright © 2004-2011 XWiki. All Rights Reserved.