Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
12c Release 1 (12.1.2.0.0)
E23185-01


oracle.adf.view.rich.browserext
Class RequestHandler

java.lang.Object
  extended by oracle.adf.view.rich.browserext.RequestHandler

All Implemented Interfaces:
Serializable

public abstract class RequestHandler
extends Object
implements Serializable

Class to be extended to provide information to browser extensions written to debug ADF applications.

See Also:
Serialized Form

Nested Class Summary
static class RequestHandler.RequestType
          Types of requests that may be made to the server from the browser

 

Constructor Summary
RequestHandler()
           

 

Method Summary
abstract  String getName()
          Get the name of this handler that is specified by the client.
abstract  RequestHandler.RequestType getType()
          Get the type of requests to handle
abstract  void handleRequest(javax.faces.context.FacesContext facesContext, BrowserResponseWriter out, Map<String,Object> parameters)
          Handle a request from the browser.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

RequestHandler

public RequestHandler()

Method Detail

getType

public abstract RequestHandler.RequestType getType()
Get the type of requests to handle
Returns:
the request type

getName

public abstract String getName()
Get the name of this handler that is specified by the client.

This will only be called once on the handler and must be a constant value.

Returns:
The name the client will pass to get data from this request handler

handleRequest

public abstract void handleRequest(javax.faces.context.FacesContext facesContext,
                                   BrowserResponseWriter out,
                                   Map<String,Object> parameters)
                            throws IOException
Handle a request from the browser.
Parameters:
facesContext - The faces context
out - the writer to write the response to
parameters - The parameters sent from the client
Throws:
IOException

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
12c Release 1 (12.1.2.0.0)
E23185-01


Copyright © 2013 Oracle Corporation. All Rights Reserved.