Publishing Engine Programmer's Guide > The Arbortext Publishing Engine Request Manager > Customizing the Arbortext PE Request Manager > Writing a Custom Request Handler
  
Writing a Custom Request Handler
To write a Request Handler, you must develop a Java class that implements the interface com.arbortext.e3.RequestHandler and update e3config.xml to define it. The Java class must provide the same init, destroy, getId, and getStatus methods used by a cache manager or queue manager. In addition, your class must provide a service method that takes an HTTP request as a parameter . It should return either an HTTP response that Arbortext PE Request Manager will return to the client or null.
Arbortext Publishing Engine has a built-in Request Handler that examines and dispatches HTTP requests according to its request functions. The source code for the Arbortext Publishing Engine Request Handler uses the com.arbortext.e3.RequestHandler interface.