# mitre/HTTP-Proxy-Servlet

Smiley's HTTP Proxy implemented as a Java servlet

Repository: https://github.com/mitre/HTTP-Proxy-Servlet
Canonical: https://ross.abutalabs.com/products/http-proxy-servlet
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2026-05-20T04:40:17+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 83, release rhythm 8, longevity 100
- inputs: {"age_days": 5241, "days_push": 105, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1489, forks 557 (observed 2026-08-28T04:04:52.342158+00:00)

## What it is
A single-file Java servlet that acts as an HTTP reverse proxy, built on Apache HttpClient. It lets Java web applications forward requests to other hosts, useful for AJAX apps needing to reach services on different origins.

## Use cases
- proxy AJAX requests to another host from a Java web app
- embed a reverse proxy inside a Java servlet application
- avoid CORS issues by proxying third-party APIs through my server
- forward requests to a backend service behind a Java web application
- securely proxy web services with Spring Security filters
- test my web app against proxied upstream services

## When to choose
- you need a simple, well-tested HTTP proxy embedded in an existing Java servlet container
- you want a lightweight alternative to a full proxy server like Nginx for a Java web app
- you need to extend or customize proxy behavior via subclassing or HttpClient configuration

## When to avoid
- you need a high-performance standalone forward proxy or full-featured gateway
- you are not running a Java servlet-based web application
- you need advanced features like load balancing, caching, or TLS termination

## Facets
- artifact type: library
- maturity: stable
- function: proxy, http-server, middleware
- domain: web-development, backend, networking
- platform: jvm
- tags: http-proxy, servlet, reverse-proxy, java-ee, ajax-cors, web-server

## Member repositories
- mitre/HTTP-Proxy-Servlet (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:52.342158+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:33:41.414157+00:00, confidence not recorded.
  - readme: https://github.com/mitre/HTTP-Proxy-Servlet (fetched 2026-08-28T04:04:52.342158+00:00, sha 41cd8630d309)
- Data as of 2026-08-30T08:39:29.467469+00:00.
