The http implementation - it may be hard to recognize the original connector code...
authorcostin <costin@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 26 Nov 2009 06:41:00 +0000 (06:41 +0000)
committercostin <costin@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 26 Nov 2009 06:41:00 +0000 (06:41 +0000)
commitfde91f4aa9d2a4e9b7395e8d81cd7a976661ecd8
tree94c8ae1653e4c96c04ed812c657be14dcc31deef
parentf478cab7fa9652989e59bf59ba5047ccde89e23a
The http implementation - it may be hard to recognize the original connector code from tomcat after many iterations.
Changes compared with coyote:
- both server and client mode
- HttpRequest/HttpResponse implement most of methods in the HttpServletRequest - with the addition of setters, for use
in client mode. They don't implement the interfaces - or 'servlet framework' specific methods - but should look
familiar to people using this as a library
- mapping is moved in this package, also support running HttpServices in the selector thread (proxy will run this way)
- MimeHeaders are gone, so are the parameters - replaced with the MultiMap, which is based on MimeHeaders but adds a HashMap
instead of linear scanning
See tests for examples.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@884412 13f79535-47bb-0310-9956-ffa450edef68
16 files changed:
modules/tomcat-lite/java/org/apache/tomcat/lite/http/BaseMapper.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/http/ContentType.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/http/DefaultHttpConnector.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/http/Dispatcher.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/http/FutureCallbacks.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/http/HttpBody.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/http/HttpChannel.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/http/HttpConnector.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/http/HttpMessage.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/http/HttpRequest.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/http/HttpResponse.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/http/HttpWriter.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/http/MappingData.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/http/MultiMap.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/http/ServerCookie.java [new file with mode: 0644]
modules/tomcat-lite/java/org/apache/tomcat/lite/http/package.html [new file with mode: 0644]