RE: Tomcat Custom Connector

2008-09-20 Thread Simon Aquilina
to initialize the Request > and Response objects > to look enough like the wire protocol was HTTP, the > rest is really pretty > easy :). For non-HTTP protocols (e.g. trying to make > Tomcat look like an > FTP server), this is the hard part.> > "Simon Aquilina&qu

RE: Tomcat Custom Connector

2008-06-17 Thread Simon Aquilina
ls (e.g. trying to make Tomcat look like an > FTP server), this is the hard part.> > "Simon Aquilina" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED]> > Hi,> > I have checked the code in Tomcat again, and although it is very confusing I > f

RE: Tomcat Custom Connector

2008-06-12 Thread Simon Aquilina
> Using the standard server.xml (as opposed to Embedding), you would > configure > Tomcat to use your Connector with an element like:> protocol="com.myfirm.mypackage.MyProtocolHandler" ... />> Any other > attributes in the tag will be passed JavaBean style >

RE: Tomcat Custom Connector

2008-06-11 Thread Simon Aquilina
cat to use your Connector with an element like:> > Any other attributes in the tag will be passed JavaBean style > to the ProtocolHandler to handle init options.> > For the simplest example, look at > org.apache.coyote.memory.MemoryProtocolHandler (but this one is mostl

RE: Tomcat Custom Connector

2008-06-04 Thread Simon Aquilina
r with an element like:> protocol="com.myfirm.mypackage.MyProtocolHandler" ... />> Any other > attributes in the tag will be passed JavaBean style > to the > ProtocolHandler to handle init options.> > For the simplest example, look at > > org.apache.

Tomcat Custom Connector

2008-06-03 Thread Simon Aquilina
Hi, I am interested in building a custom connector for Tomcat. I have checked the Tomcat source code and found the source code for the ‘http11’ and ‘ajp’ connectors. I thought of trying to understand the code of these two connectors and then try to implement mine based on these. However I am no