HttpServletRequest

HttpServletRequest is an interface defined in the Java Servlet specification used to encapsulate an incoming http request. See J2EE API Documentation: HttpServletRequest

In PHP, rather than being encapsulated in a single object, request handling is distributed over a wide variety of functions, configuration parameters and variables. See PHP HTTP Request Handling Summary for information on how PHP handles HTTP responses.

See HttpServletResponse