
Public Member Functions | |
| ERXStaticResourceRequestHandler (String frameworkName) | |
| ERXStaticResourceRequestHandler () | |
| WOResponse | handleRequest (WORequest request) |
Protected Member Functions | |
| WOResponse | _generateResponseForInputStream (InputStream is, int length, String type) |
Private Member Functions | |
| String | documentRoot () |
Private Attributes | |
| String | _documentRoot |
| boolean | _useRequestHandlerPath |
Static Private Attributes | |
| static WOApplication | application = WOApplication.application() |
| static Logger | log = Logger.getLogger(ERXStaticResourceRequestHandler.class) |
WODocumentRoot.
| ERXStaticResourceRequestHandler | ( | String | frameworkName | ) |
Creates a static resource handler for the given framework, which gives you nicer relative URLs to work with. For instance, you could register a request handler "aj" that maps to the "Ajax" framework, which would make URLs of the form "/aj/wonder.js" map onto Ajax's WebServerResources/wonder.js folder.
| frameworkName | the name of the framework to map to (or null/"app" for the application) |
| WOResponse _generateResponseForInputStream | ( | InputStream | is, | |
| int | length, | |||
| String | type | |||
| ) | [protected] |
| String documentRoot | ( | ) | [private] |
| WOResponse handleRequest | ( | WORequest | request | ) |
String _documentRoot [private] |
boolean _useRequestHandlerPath [private] |
WOApplication application = WOApplication.application() [static, private] |
Logger log = Logger.getLogger(ERXStaticResourceRequestHandler.class) [static, private] |
1.5.8