You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@eng.sun.com on 2000/02/03 09:04:45 UTC

Re: Few minor Q's for a ServerConnector

On Thu, 3 Feb 2000, Bob Jamison wrote:

> 1:  Is implementing ServerConnector, getting the ContextManager
> from the setContextManager() call, and naming the Connector in server.xml,
> sufficient to bind the Connector to the rest of Tomcat to process
> Requests?   I  -think- it is, just want to make sure before I go down the
> wrong path.

We can add some magic words :-)
( you can get config parameters in setProperty if you need to ).

> 2: On the Apache side, is the call:
> 
> ap_get_client_block(requestPtr,buffer,buffer_length);
> 
> the proper place to get the information to feed the input stream
> of a RequestImpl?  (For PUTs and POSTs)

Should work. 

> 3:  On the Apache side again, is the call:
> 
> ap_write(write_buf,buf_length,requestPtr);
> the proper destination for the servletOutputStream of the ResponseImpl?

Yes.


Costin