Class I2PTunnelHTTPServer

  • All Implemented Interfaces:
    Runnable, EventDispatcher
    Direct Known Subclasses:
    I2PTunnelHTTPBidirServer

    public class I2PTunnelHTTPServer
    extends I2PTunnelServer
    Simple extension to the I2PTunnelServer that filters the HTTP headers sent from the client to the server, replacing the Host header with whatever this instance has been configured with, and if the browser set Accept-Encoding: x-i2p-gzip, gzip the http message body and set Content-Encoding: x-i2p-gzip.