SessionInit, Request Header Access

asked 2010-11-27 16:54:08 +0800

eptx gravatar image eptx
130 3

How can I get access to http request headers within an implementation of SessionInit?

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2010-11-27 17:02:45 +0800

eptx gravatar image eptx
130 3

Ok, didn't realize the other method param was the request object...

public class SessionInitImpl implements SessionInit {
public void init(Session session, Object o) throws Exception {
HttpServletRequest req = (HttpServletRequest) o;

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2010-11-27 16:54:08 +0800

Seen: 353 times

Last updated: Nov 27 '10

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More