How to configure proxy in programming tool?

Tomcat For the standard HTTP proxy of Apache:
<Location /examples/>
ProxyPass http://localhost:8080/examples/
ProxyPassReverse http://localhost:8080/examples/
</Location>
How to configure proxy in programming tool?