CPPSERV


Home Projects Jobs Clientele Contact

cppserv


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] changed ServletRequest to HttpServletRequest and ServletResponse to HttpServletresponse



Thanks. Committed.

Sergey wrote:
> From: Sergey <sergey@total-knowledge.com>
>
> diff --git a/hello/hello.cpp b/hello/hello.cpp
> index e50a1ff..9546431 100644
> --- a/hello/hello.cpp
> +++ b/hello/hello.cpp
> @@ -19,7 +19,7 @@
>   ***************************************************************************/
>  #include "hello.h"
>  #include <iostream>
> -void HelloServlet::service(servlet::ServletRequest&, servlet::ServletResponse& resp)
> +void HelloServlet::service(servlet::HttpServletRequest&, servlet::HttpServletResponse& resp)
>  {
>  	std::cerr<<__PRETTY_FUNCTION__<<std::endl;
>  	std::ostream &out=resp.getOutputStream();
> diff --git a/hello/hello.h b/hello/hello.h
> index 5db4fe2..32650a2 100644
> --- a/hello/hello.h
> +++ b/hello/hello.h
> @@ -30,7 +30,7 @@ Hello World servlet. Guess what it does.
>  class HelloServlet : public servlet::HttpServlet
>  {
>  public:
> -	virtual void service(servlet::ServletRequest& req, servlet::ServletResponse& resp);
> +	virtual void service(servlet::HttpServletRequest& req, servlet::HttpServletResponse& resp);
>  };
>  
>  #endif
>   

-- 
Ilya A. Volynets-Evenbakh
Total Knowledge. CTO
http://www.total-knowledge.com


Authoright © Total Knowledge: 2001-2008