org.polliwog.webapp
Class WebAppUtils

java.lang.Object
  extended by org.polliwog.webapp.WebAppUtils

public class WebAppUtils
extends java.lang.Object


Constructor Summary
WebAppUtils()
           
 
Method Summary
static java.lang.String getExceptionTraceAsString(java.lang.Exception e)
           
static java.lang.String getParm(HttpServletRequest request, java.lang.String name)
           
static boolean hasParm(HttpServletRequest request, java.lang.String name)
           
static void redirect(HttpServletResponse response, java.lang.String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebAppUtils

public WebAppUtils()
Method Detail

getExceptionTraceAsString

public static java.lang.String getExceptionTraceAsString(java.lang.Exception e)

hasParm

public static boolean hasParm(HttpServletRequest request,
                              java.lang.String name)

getParm

public static java.lang.String getParm(HttpServletRequest request,
                                       java.lang.String name)

redirect

public static void redirect(HttpServletResponse response,
                            java.lang.String url)
                     throws java.io.IOException
Throws:
java.io.IOException


  Copyright © 2007 Gary Bentley. All Rights Reserved.