1 16 package org.apache.coyote; 17 18 import org.apache.tomcat.util.buf.MessageBytes; 19 import org.apache.tomcat.util.http.MimeHeaders; 20 21 26 public class Adapter { 27 28 29 public static final String CRLF = "\r\n"; 30 31 32 35 public void service(Request req, Response res) 36 throws Exception { 37 38 StringBuffer buf = new StringBuffer (); 39 buf.append(req.method()); 40 buf.append(" "); 41 buf.append(req.unparsedURI()); 42 buf.append(" "); 43 buf.append(req.protocol()); 44 buf.append(CRLF); 45 46 47 48 } 49 50 51 } 52 | Popular Tags |