class HttpServletRequestImpl implements HttpServletRequest {

    @Override
    public StringBuilder getRequestURL() {
        StringBuilder url = new StringBuilder();
        url.append(getScheme()).append("://").append(getHost());

        int port = getServerPort();
        if (port != HTTP_PORT && port != HTTPS_PORT) {
            url.append(':').append(port);
        }
        url.append(status.getUri());

        return url;
    }

    private  HttpServletRequestImpl();

}