| org.directwebremoting.extend.DebugPageGenerator
All known Subclasses: org.directwebremoting.impl.DefaultDebugPageGenerator,
DebugPageGenerator | public interface DebugPageGenerator (Code) | | The heart of DWR is a system to generate content from some requests.
This interface generates scripts and executes remote calls.
author: Joe Walker [joe at getahead dot ltd dot uk] |
generateEngineUrl | String generateEngineUrl(String root)(Code) | | Create a url that links to the engine.js file
Parameters: root - The prefix common to all DWR URLs. Usually contextPath+servletPath A URL that points at the central engine Javascript file |
generateIndexPage | String generateIndexPage(String root) throws SecurityException(Code) | | Generate some HTML that represents an index page
Parameters: root - The prefix common to all DWR URLs. Usually contextPath+servletPath An index page in HTML throws: SecurityException - If the pages are not accessible |
generateInterfaceUrl | String generateInterfaceUrl(String root, String scriptName)(Code) | | For a given remoted class, generate a URL that will retrieve the
Javascript interface
Parameters: root - The prefix common to all DWR URLs. Usually contextPath+servletPath Parameters: scriptName - The script to generate for A URL that points at the given scriptName |
generateLibraryUrl | String generateLibraryUrl(String root, String library)(Code) | | Create a url that links to one of the library files
Parameters: root - The prefix common to all DWR URLs. Usually contextPath+servletPath Parameters: library - The name of a library as returned by DebugPageGenerator.getAvailableLibraries A URL that points at the given library |
generateTestPage | String generateTestPage(String root, String scriptName) throws SecurityException(Code) | | Generate some HTML that represents a test page for a given script
Parameters: root - The prefix common to all DWR URLs. Usually contextPath+servletPath Parameters: scriptName - The script to generate for A test page in HTML throws: SecurityException - If the pages are not accessible |
|
|