Tuesday, 10 March 2015

What is ServletRequestWrapper and How do we use it.

public class ServletRequestWrapper
extends java.lang.Object
implements ServletRequest
Provides a convenient implementation of the ServletRequest interface that can be subclassed by developers wishing to adapt the request to a Servlet. This class implements the Wrapper or Decorator pattern. Methods default to calling through to the wrapped request object.
more:-

https://docs.oracle.com/javaee/6/api/javax/servlet/ServletRequestWrapper.html


This is the Best Link to knwo more about ServeltRequestWrapper


https://vangjee.wordpress.com/2009/02/25/how-to-modify-request-headers-in-a-j2ee-web-application/

No comments:

Post a Comment