railo.runtime.rest
Class RestRequestListener

java.lang.Object
  extended by railo.runtime.rest.RestRequestListener
All Implemented Interfaces:
RequestListener

public class RestRequestListener
extends Object
implements RequestListener


Constructor Summary
RestRequestListener(Mapping mapping, String path, Struct matrix, int format, boolean hasFormatExtension, List<MimeType> accept, MimeType contentType, Result defaultValue)
           
 
Method Summary
 PageSource execute(PageContext pc, PageSource requestedPage)
          execute by the Application Listener
 Result getResult()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestRequestListener

public RestRequestListener(Mapping mapping,
                           String path,
                           Struct matrix,
                           int format,
                           boolean hasFormatExtension,
                           List<MimeType> accept,
                           MimeType contentType,
                           Result defaultValue)
Method Detail

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 request
requestedPage - original requested pagesource
Returns:
pagesource that should be use by the ApplicationListener
Throws:
PageException

getResult

public Result getResult()
Returns:
the result


Copyright © 2012 Railo