/** * ** SLOW ** for debugging only! */ public String toString() { StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); pw.println("=== BaseRequest ==="); pw.println("method = " + method.toString()); pw.println("protocol = " + protocol.toString()); pw.println("requestURI = " + requestURI.toString()); pw.println("remoteAddr = " + remoteAddr.toString()); pw.println("remoteHost = " + remoteHost.toString()); pw.println("serverName = " + serverName.toString()); pw.println("serverPort = " + serverPort); pw.println("remoteUser = " + remoteUser.toString()); pw.println("authType = " + authType.toString()); pw.println("queryString = " + queryString.toString()); pw.println("scheme = " + scheme.toString()); pw.println("secure = " + secure); pw.println("contentLength = " + contentLength); pw.println("contentType = " + contentType); pw.println("attributes = " + attributes.toString()); pw.println("headers = " + headers.toString()); pw.println("cookies = " + cookies.toString()); pw.println("jvmRoute = " + tomcatInstanceId.toString()); return sw.toString(); }
/** * ** SLOW ** for debugging only! */ public String toString() { StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); pw.println("=== BaseRequest ==="); pw.println("method = " + method.toString()); pw.println("protocol = " + protocol.toString()); pw.println("requestURI = " + requestURI.toString()); pw.println("remoteAddr = " + remoteAddr.toString()); pw.println("remoteHost = " + remoteHost.toString()); pw.println("serverName = " + serverName.toString()); pw.println("serverPort = " + serverPort); pw.println("remoteUser = " + remoteUser.toString()); pw.println("authType = " + authType.toString()); pw.println("queryString = " + queryString.toString()); pw.println("scheme = " + scheme.toString()); pw.println("secure = " + secure); pw.println("contentLength = " + contentLength); pw.println("contentType = " + contentType); pw.println("attributes = " + attributes.toString()); pw.println("headers = " + headers.toString()); pw.println("cookies = " + cookies.toString()); pw.println("jvmRoute = " + tomcatInstanceId.toString()); return sw.toString(); }
/** * ** SLOW ** for debugging only! */ public String toString() { StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw); pw.println("=== BaseRequest ==="); pw.println("method = " + method.toString()); pw.println("protocol = " + protocol.toString()); pw.println("requestURI = " + requestURI.toString()); pw.println("remoteAddr = " + remoteAddr.toString()); pw.println("remoteHost = " + remoteHost.toString()); pw.println("serverName = " + serverName.toString()); pw.println("serverPort = " + serverPort); pw.println("remoteUser = " + remoteUser.toString()); pw.println("authType = " + authType.toString()); pw.println("queryString = " + queryString.toString()); pw.println("scheme = " + scheme.toString()); pw.println("secure = " + secure); pw.println("contentLength = " + contentLength); pw.println("contentType = " + contentType); pw.println("attributes = " + attributes.toString()); pw.println("headers = " + headers.toString()); pw.println("cookies = " + cookies.toString()); pw.println("jvmRoute = " + tomcatInstanceId.toString()); return sw.toString(); }