I don't mean that,I mean I have a POJO object:
-----------------------------
Class POJOObject implements IsSerializable{
    private long id;
    private String sessionId;
  ....getters and setters.....
}
-------------------------------
and I want to know is there any way to  get sessionId in servlet
filter?



On 29 oct, 18:37, Michael Sullivan <[email protected]> wrote:
> Alex, can you be a little more clear please?
>
> You want to change the content of an HTTP Header as it passes through
> your servlet filter?
>
> While there are no setters, as far as I know, for the headers
> available in the filter, you can wrap the incoming header in an
> instance of HttpServletRequestWrapper.  This wrapper delegates all of
> its method calls to the HTTPServletRequest you have wrapped.  Then you
> override the getHeader related methods to return the desired result
> for the header you want to change.
>
> When you call chain.doFilter, you pass the wrapper instead of the
> original request.
>
> Mike
>
> On Oct 29, 5:35 am,AlexLuya<[email protected]> wrote:
>
>
>
> >    Currently,I know only content in HTTP HEADER can read and
> > modified,and seemly,it is impossible to  do anything in content of
> > HEADER.So can anybody provide me a way,thank you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to