Class XI2PLocationFilter

All Implemented Interfaces:
Handler, HandlerContainer, Container, Destroyable, Dumpable, LifeCycle

public class XI2PLocationFilter extends HandlerWrapper
Adds a header, X-I2P-Location, to requests when they do **not** come in on an I2P hostname. This header contains a URL that looks like: [scheme://][i2phostname.i2p][/path][?query] and expresses the I2P-Equivalent URL of the clearnet query. Clients can use this to prompt users to switch from a non-I2P host to an I2P host or to redirect them automatically. It automatically enabled on the default I2P site located on port 7658 by default.
Since:
0.9.51