railo.runtime.rest
Class RestRequestListener
java.lang.Object
railo.runtime.rest.RestRequestListener
- All Implemented Interfaces:
- RequestListener
public class RestRequestListener
- extends Object
- implements RequestListener
RestRequestListener
public RestRequestListener(Mapping mapping,
String path,
Struct matrix,
int format,
boolean hasFormatExtension,
List<MimeType> accept,
MimeType contentType,
Result defaultValue)
execute
public PageSource execute(PageContext pc,
PageSource requestedPage)
throws PageException
- Description copied from interface:
RequestListener
- execute by the Application Listener
- Specified by:
execute
in interface RequestListener
- Parameters:
pc
- page context of the current requestrequestedPage
- original requested pagesource
- Returns:
- pagesource that should be use by the ApplicationListener
- Throws:
PageException
getResult
public Result getResult()
- Returns:
- the result
Copyright © 2012 Railo