org.apache.empire.struts2.web
Interface ResponseContext

All Known Implementing Classes:
PortletResponseWrapper, ServletResponseWrapper

public interface ResponseContext


Method Summary
 void addCookie(javax.servlet.http.Cookie cookie)
           
 String encodeRedirectURL(String url)
           
 String encodeURL(String url)
           
 void flushBuffer()
           
 int getBufferSize()
           
 String getCharacterEncoding()
           
 String getContentType()
           
 Object getExternalResponse()
           
 Locale getLocale()
           
 OutputStream getOutputStream()
           
 PrintWriter getWriter()
           
 boolean isCommitted()
           
 void reset()
           
 void resetBuffer()
           
 void sendRedirect(String location)
           
 void setBufferSize(int size)
           
 void setContentType(String type)
           
 

Method Detail

getExternalResponse

Object getExternalResponse()

addCookie

void addCookie(javax.servlet.http.Cookie cookie)

encodeURL

String encodeURL(String url)

encodeRedirectURL

String encodeRedirectURL(String url)

sendRedirect

void sendRedirect(String location)
                  throws IOException
Throws:
IOException

getLocale

Locale getLocale()

getCharacterEncoding

String getCharacterEncoding()

getContentType

String getContentType()

setContentType

void setContentType(String type)

getBufferSize

int getBufferSize()

setBufferSize

void setBufferSize(int size)

getWriter

PrintWriter getWriter()
                      throws IOException
Throws:
IOException

getOutputStream

OutputStream getOutputStream()
                             throws IOException
Throws:
IOException

flushBuffer

void flushBuffer()
                 throws IOException
Throws:
IOException

resetBuffer

void resetBuffer()

isCommitted

boolean isCommitted()

reset

void reset()


Copyright © 2008–2014 Apache Software Foundation. All rights reserved.