Publishing Engine Programmer's Guide > The Arbortext Publishing Engine Request Manager > Customizing the Arbortext PE Request Manager > Writing a Custom Request Selector
  
Writing a Custom Request Selector
To develop a request selector, you must create a Java class that implements the interface com.arbortext.e3.E3RequestSelector. In addition to the getId, init , destroy and getStatus methods, a request selector must implement a test method. The test method takes an HTTP request as a parameter and returns true or false to indicate whether the request meets its configured criteria.
After compiling your request selector, place the class file in PE_HOME\e3\e3\WEB-INF\classes or place the classes in a JAR file and put the JAR in e3\e3\WEB-INF\lib.
Update e3config.xml to define your request selector. Add a RequestSelector element to load and initialize the request selector, and then add it to a TestSet associated with an Arbortext PE sub-process pool.