org.slim3.struts.util
Class RequestUtil

java.lang.Object
  extended by org.slim3.struts.util.RequestUtil

public final class RequestUtil
extends Object

A utility for HttpServletRequest.

Since:
3.0
Author:
higa

Method Summary
static String getPath()
          Returns the path.
static String getPath(HttpServletRequest request)
          Returns the path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPath

public static String getPath()
Returns the path.

Returns:
the path

getPath

public static String getPath(HttpServletRequest request)
                      throws NullPointerException
Returns the path.

Parameters:
request - the request
Returns:
the path
Throws:
NullPointerException - if the request parameter is null


Copyright © 2008-2009 The Slim3 project. All Rights Reserved.