Link to home
Start Free TrialLog in
Avatar of matthew016
matthew016Flag for Belgium

asked on

getHeaderNames

I know the function  getHeaderNames
returns the http headers.
What can be the use of it ?
Thank you.
Avatar of leogc
leogc

getHeaderNames() can be used to find out information like what is the request type that is comming like GET or POST,what is the browser the request is comming from,etc.More details can be found from the link below:
http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-Request-Headers.html
Avatar of matthew016

ASKER

This still doesn't give me the use of it.
Why one would like to know if it's post or get request, browser, etc .

ASKER CERTIFIED SOLUTION
Avatar of leogc
leogc

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you.
Can U tell me about the filters or maybe a link ?