Which three are true about the HttpServletRequestWrappe…

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 implement the javax.servlet.Filter interface.

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

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



Leave a Reply 2

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