com.atlassian.jira.jelly
Class JellyHttpResponse

java.lang.Object
  extended bycom.atlassian.jira.jelly.JellyHttpResponse

public class JellyHttpResponse
extends java.lang.Object


Constructor Summary
JellyHttpResponse()
           
 
Method Summary
 void addCookie(Cookie cookie)
           
 void addDateHeader(java.lang.String s, long l)
           
 void addHeader(java.lang.String s, java.lang.String s1)
           
 void addIntHeader(java.lang.String s, int i)
           
 boolean containsHeader(java.lang.String s)
           
 java.lang.String encodeRedirectUrl(java.lang.String s)
           
 java.lang.String encodeRedirectURL(java.lang.String s)
           
 java.lang.String encodeUrl(java.lang.String s)
           
 java.lang.String encodeURL(java.lang.String url)
           
 void flushBuffer()
           
 int getBufferSize()
           
 java.lang.String getCharacterEncoding()
           
 java.util.Locale getLocale()
           
 ServletOutputStream getOutputStream()
           
 java.lang.String getRedirectUrl()
           
 java.io.PrintWriter getWriter()
           
 boolean isCommitted()
           
 void reset()
           
 void resetBuffer()
           
 void sendError(int i)
           
 void sendError(int i, java.lang.String s)
           
 void sendRedirect(java.lang.String location)
           
 void setBufferSize(int i)
           
 void setContentLength(int i)
           
 void setContentType(java.lang.String s)
           
 void setDateHeader(java.lang.String s, long l)
           
 void setHeader(java.lang.String s, java.lang.String s1)
           
 void setIntHeader(java.lang.String s, int i)
           
 void setLocale(java.util.Locale locale)
           
 void setStatus(int i)
           
 void setStatus(int i, java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JellyHttpResponse

public JellyHttpResponse()
Method Detail

getRedirectUrl

public java.lang.String getRedirectUrl()

sendRedirect

public void sendRedirect(java.lang.String location)
                  throws java.io.IOException
Throws:
java.io.IOException

encodeURL

public java.lang.String encodeURL(java.lang.String url)

addCookie

public void addCookie(Cookie cookie)

containsHeader

public boolean containsHeader(java.lang.String s)

encodeRedirectURL

public java.lang.String encodeRedirectURL(java.lang.String s)

encodeUrl

public java.lang.String encodeUrl(java.lang.String s)

encodeRedirectUrl

public java.lang.String encodeRedirectUrl(java.lang.String s)

sendError

public void sendError(int i,
                      java.lang.String s)
               throws java.io.IOException
Throws:
java.io.IOException

sendError

public void sendError(int i)
               throws java.io.IOException
Throws:
java.io.IOException

setDateHeader

public void setDateHeader(java.lang.String s,
                          long l)

addDateHeader

public void addDateHeader(java.lang.String s,
                          long l)

setHeader

public void setHeader(java.lang.String s,
                      java.lang.String s1)

addHeader

public void addHeader(java.lang.String s,
                      java.lang.String s1)

setIntHeader

public void setIntHeader(java.lang.String s,
                         int i)

addIntHeader

public void addIntHeader(java.lang.String s,
                         int i)

setStatus

public void setStatus(int i)

setStatus

public void setStatus(int i,
                      java.lang.String s)

getCharacterEncoding

public java.lang.String getCharacterEncoding()

getOutputStream

public ServletOutputStream getOutputStream()
                                    throws java.io.IOException
Throws:
java.io.IOException

getWriter

public java.io.PrintWriter getWriter()
                              throws java.io.IOException
Throws:
java.io.IOException

setContentLength

public void setContentLength(int i)

setContentType

public void setContentType(java.lang.String s)

setBufferSize

public void setBufferSize(int i)

getBufferSize

public int getBufferSize()

flushBuffer

public void flushBuffer()
                 throws java.io.IOException
Throws:
java.io.IOException

resetBuffer

public void resetBuffer()

isCommitted

public boolean isCommitted()

reset

public void reset()

setLocale

public void setLocale(java.util.Locale locale)

getLocale

public java.util.Locale getLocale()