return context;
}
};
Url originalUrl = Url.parse("securedPage");
IRequestHandler handler = encoder.mapRequest(getRequest(originalUrl));
SwitchProtocolRequestHandler switchProtocolRequestHandler = new SwitchProtocolRequestHandler(
Protocol.HTTPS, handler, new HttpsConfig());
Url mappedUrl = encoder.mapHandler(switchProtocolRequestHandler);