Sorry I wasn't clear. There is a request.getScheme().