A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Servlets
Author
request.getHeaderNames()
auvrm papu
Ranch Hand
Joined: Sep 01, 2005
Posts: 105
posted
Mar 17, 2008 16:11:00
0
Does request.getHeaderNames()get the custom headers also?
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
I like...
posted
Mar 17, 2008 16:43:00
0
I'm not sure what you mean by "the custom headers".
That method returns an enumeration of all the headers in the request.
If you have a client that creates custom request headers, you should be able to read them just like any other headers.
Java API
J2EE API
Servlet Spec
JSP Spec
How to ask a question...
Simple Servlet Examples
jsonf
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: request.getHeaderNames()
Similar Threads
request.getHeader("Referer")
Access Headers
HTTPServletRequest
How to Find Client Information??
HTTP Protocol & Servlets
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter