public interface Processor
Interface describing business logic responsible for processing an incoming remoting request, and creating the corresponding response.
void process(javax.faces.context.FacesContext context, String resourceId) throws IOException
Process the current request, producing the corresponding response
by whatever means is appropriate. The state of the current request can
be derived by calling FacesContext.getCurrentInstance()
.
Typically, an implementation of this method will call the
responseComplete()
method on this FacesContext
instance, to bypass the remainder of the standard JavaServer Faces
request processing lifecycle.
context
- FacesContext
for the current requestresourceId
- Resource identifier used to select the appropriate response
(this will generally be a context relative path starting with "/")IOException
- if an input/output error occursNullPointerException
- if resourceId
is null
Copyright © 2004-2013 Apache Software Foundation. All Rights Reserved.