HttpToHttpsRedirector

public class HttpToHttpsRedirector extends Restlet

Sends a permanent redirect response.

Fields

logger

public Logger logger

Constructors

HttpToHttpsRedirector

public HttpToHttpsRedirector(int httpsPort)
Author:

Timm Fitschen

Parameters:
  • httpsPort – The port to which the redirect should point.

Methods

handle

public void handle(Request request, Response response)