fr.ifremer.wao.ui.services
Class AppModule.ResponseWrapper
java.lang.Object
fr.ifremer.wao.ui.services.AppModule.ResponseWrapper
- All Implemented Interfaces:
- org.apache.tapestry5.services.Response
- Enclosing class:
- AppModule
protected static class AppModule.ResponseWrapper
- extends Object
- implements org.apache.tapestry5.services.Response
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wrappedResponse
protected org.apache.tapestry5.services.Response wrappedResponse
outputStream
protected ByteArrayOutputStream outputStream
printWriter
protected PrintWriter printWriter
contentType
protected String contentType
AppModule.ResponseWrapper
public AppModule.ResponseWrapper(org.apache.tapestry5.services.Response wrappedResponse)
getPrintWriter
public PrintWriter getPrintWriter(String contentType)
throws IOException
- Specified by:
getPrintWriter in interface org.apache.tapestry5.services.Response
- Throws:
IOException
getOutputStream
public OutputStream getOutputStream(String contentType)
throws IOException
- Specified by:
getOutputStream in interface org.apache.tapestry5.services.Response
- Throws:
IOException
sendRedirect
public void sendRedirect(String URL)
throws IOException
- Specified by:
sendRedirect in interface org.apache.tapestry5.services.Response
- Throws:
IOException
sendRedirect
public void sendRedirect(org.apache.tapestry5.Link link)
throws IOException
- Specified by:
sendRedirect in interface org.apache.tapestry5.services.Response
- Throws:
IOException
setStatus
public void setStatus(int sc)
- Specified by:
setStatus in interface org.apache.tapestry5.services.Response
sendError
public void sendError(int sc,
String message)
throws IOException
- Specified by:
sendError in interface org.apache.tapestry5.services.Response
- Throws:
IOException
setContentLength
public void setContentLength(int length)
- Specified by:
setContentLength in interface org.apache.tapestry5.services.Response
setDateHeader
public void setDateHeader(String name,
long date)
- Specified by:
setDateHeader in interface org.apache.tapestry5.services.Response
setHeader
public void setHeader(String name,
String value)
- Specified by:
setHeader in interface org.apache.tapestry5.services.Response
setIntHeader
public void setIntHeader(String name,
int value)
- Specified by:
setIntHeader in interface org.apache.tapestry5.services.Response
encodeURL
public String encodeURL(String URL)
- Specified by:
encodeURL in interface org.apache.tapestry5.services.Response
encodeRedirectURL
public String encodeRedirectURL(String URL)
- Specified by:
encodeRedirectURL in interface org.apache.tapestry5.services.Response
isCommitted
public boolean isCommitted()
- Specified by:
isCommitted in interface org.apache.tapestry5.services.Response
disableCompression
public void disableCompression()
- Specified by:
disableCompression in interface org.apache.tapestry5.services.Response
Copyright © 2009-2012 Ifremer. All Rights Reserved.