net.fckeditor.requestcycle.impl
Class ContextPathBuilder
java.lang.Object
net.fckeditor.requestcycle.impl.ServerRootPathBuilder
net.fckeditor.requestcycle.impl.ContextPathBuilder
- All Implemented Interfaces:
- UserPathBuilder
public class ContextPathBuilder
- extends ServerRootPathBuilder
UserPathBuilder implementation which always returns static userfiles paths
with prepended context path. In particular it returns the connector.userFiles*Path
properties and prepend the current context path to
getUserFilesPath(HttpServletRequest)
only.
- Version:
- $Id: ContextPathBuilder.java 4785 2009-12-21 20:10:28Z mosipov $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextPathBuilder
public ContextPathBuilder()
getUserFilesPath
public String getUserFilesPath(HttpServletRequest request)
- Description copied from interface:
UserPathBuilder
- Returns the constructed client-side userfiles path. This method is the
dynamic constructor of the
connector.userFilesPath
property. A
browser will use this value to resolve the url-side location of resources
on the server.
- Specified by:
getUserFilesPath
in interface UserPathBuilder
- Overrides:
getUserFilesPath
in class ServerRootPathBuilder
- Parameters:
request
- current user request instance
- Returns:
- the constructed client-side userfiles path
Copyright © 2004-2010 Frederico Caldeira Knabben. All Rights Reserved.