org.seasar.portlet.util
Class RenderResponseUtil

java.lang.Object
  extended by org.seasar.portlet.util.PortletResponseUtil
      extended by org.seasar.portlet.util.RenderResponseUtil

public class RenderResponseUtil
extends PortletResponseUtil

This class is a utility class to use RenderResponse on Seasar2 environment.

Author:
Shinsuke Sugaya

Constructor Summary
RenderResponseUtil()
           
 
Method Summary
static javax.portlet.PortletURL createActionURL()
           
static javax.portlet.PortletURL createRenderURL()
           
static void flushBuffer()
           
static int getBufferSize()
           
static java.lang.String getCharacterEncoding()
           
static java.lang.String getContentType()
           
static java.util.Locale getLocale()
           
static java.lang.String getNamespace()
           
static java.io.OutputStream getPortletOutputStream()
           
static javax.portlet.RenderResponse getRenderResponse()
           
static java.io.PrintWriter getWriter()
           
static boolean isCommitted()
           
static void reset()
           
static void resetBuffer()
           
static void setBufferSize(int arg0)
           
static void setContentType(java.lang.String arg0)
           
static void setTitle(java.lang.String arg0)
           
 
Methods inherited from class org.seasar.portlet.util.PortletResponseUtil
addProperty, encodeURL, getPortletResponse, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenderResponseUtil

public RenderResponseUtil()
Method Detail

getRenderResponse

public static javax.portlet.RenderResponse getRenderResponse()

createActionURL

public static javax.portlet.PortletURL createActionURL()

createRenderURL

public static javax.portlet.PortletURL createRenderURL()

flushBuffer

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

getBufferSize

public static int getBufferSize()

getCharacterEncoding

public static java.lang.String getCharacterEncoding()

getContentType

public static java.lang.String getContentType()

getLocale

public static java.util.Locale getLocale()

getNamespace

public static java.lang.String getNamespace()

getPortletOutputStream

public static java.io.OutputStream getPortletOutputStream()
                                                   throws java.io.IOException
Throws:
java.io.IOException

getWriter

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

isCommitted

public static boolean isCommitted()

reset

public static void reset()

resetBuffer

public static void resetBuffer()

setBufferSize

public static void setBufferSize(int arg0)

setContentType

public static void setContentType(java.lang.String arg0)

setTitle

public static void setTitle(java.lang.String arg0)


Copyright 2006 null. All Rights Reserved.