Which three are true about the HttpServletRequestWrapper class?

Which three are true about the HttpServletRequestWrapper class? (Choose three.)

Which three are true about the HttpServletRequestWrapper class? (Choose three.)

A.
The HttpServletRequestWrapper is an example of the Decorator pattern.

B.
The HttpServletRequestWrapper can be used to extend the functionality of a servlet request.

C.
A subclass of HttpServletRequestWrapper CANNOT modify the behavior of the getReader
method.

D.
An HttpServletRequestWrapper may be used only by a class implementing the
javax.servlet.Filter interface.

E.
An HttpServletRequestWrapper CANNOT be used on the request passed to the
RequestDispatcher.include method.

F.
An HttpServletRequestWrapper may modify the header of a request within an object
implementing the javax.servlet.Filter interface.

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *