摘要 |
<p>An HTTP proxy server (240) forwards most requests onto other proxies and servers unchanged, but intercepts requests (600) for URNs from a client device (100), and provides its own responses (625) to them. The proxy (240) provides a Java environment in which it can execute Java subroutines called proxylets. Proxylets can be requested (605) and loaded in (610) from a proxylet repository server (500) and executed while the proxy (240) is running, so its capabilities can be augmented dynamically. A proxylet acts as a miniature proxy - it accepts requests which the proxy has decided to supply, and must provide corresponding responses. To achieve this, it can act as a client, talking, with get URL HTTP request messages (615) and (200) OK HTTP responses (620), with upstream entities, which may be other proxylets in the same (or even in another) proxy, or other proxies and servers (400) which the proxy is configured to use. A proxylet can also load other proxylets into its environment.</p> |