net.fckeditor.handlers
Class RequestCycleHandler

java.lang.Object
  extended by net.fckeditor.handlers.RequestCycleHandler

public class RequestCycleHandler
extends java.lang.Object

Handler for classes which implement the interfaces from package net.fckeditor.requestcycle.

Version:
$Id: RequestCycleHandler.java 3840 2009-07-08 20:29:46Z mosipov $

Constructor Summary
RequestCycleHandler()
           
 
Method Summary
protected static java.lang.String getUserFilePath(javax.servlet.http.HttpServletRequest request)
          Getter for the UserFilesPath.
Method is used by other handlers only!
static boolean isEnabledForFileBrowsing(javax.servlet.http.HttpServletRequest request)
          Just a wrapper to UserAction.isEnabledForFileBrowsing(HttpServletRequest).
static boolean isEnabledForFileUpload(javax.servlet.http.HttpServletRequest request)
          Just a wrapper to UserAction.isEnabledForFileUpload(HttpServletRequest).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestCycleHandler

public RequestCycleHandler()
Method Detail

isEnabledForFileBrowsing

public static boolean isEnabledForFileBrowsing(javax.servlet.http.HttpServletRequest request)
Just a wrapper to UserAction.isEnabledForFileBrowsing(HttpServletRequest).

Parameters:
request -
Returns:
UserAction.isEnabledForFileBrowsing(HttpServletRequest) or false if userAction isn't set.

isEnabledForFileUpload

public static boolean isEnabledForFileUpload(javax.servlet.http.HttpServletRequest request)
Just a wrapper to UserAction.isEnabledForFileUpload(HttpServletRequest).

Parameters:
request -
Returns:
UserAction.isEnabledForFileUpload(HttpServletRequest) or false if userAction isn't set.

getUserFilePath

protected static java.lang.String getUserFilePath(javax.servlet.http.HttpServletRequest request)
Getter for the UserFilesPath.
Method is used by other handlers only!

Parameters:
request -
Returns:
UserPathBuilder.getUserFilesPath(HttpServletRequest) or null if userPathBuilder is null.


Copyright © 2004-2009 Frederico Caldeira Knabben. All Rights Reserved.