|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserPathBuilder
An interface for userfiles path construction. In particular, this interface
gives you the ability to construct the connector.userFilesPath
and
connector.userFilesAbsolutePath
properties dynamically. See configuration for more
details.
Note: You are free to implement this interface the way you need it, in other words your return values can be global, regardless of the request, or on a per-request basis.
Method Summary | |
---|---|
String |
getUserFilesAbsolutePath(HttpServletRequest request)
Returns the constructed server-side userfiles absolute path. |
String |
getUserFilesPath(HttpServletRequest request)
Returns the constructed client-side userfiles path. |
Method Detail |
---|
String getUserFilesAbsolutePath(HttpServletRequest request)
connector.userFilesAbsolutePath
property. A concrete connector implementation will use this value to
resolve the server-side location of resources.
request
- current user request instance
String getUserFilesPath(HttpServletRequest request)
connector.userFilesPath
property. A
browser will use this value to resolve the url-side location of resources
on the server.
request
- current user request instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |