Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

FilterConfig doubt ...  RSS feed

 
Vassili Vladimir
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is what i'm thinking true or not ?

The container gives the Filter a FilerConfig when the Filter is actually called, not at deploy time.

Please clear my doubts ...

Thanks in advance ...
 
Mirko Bonasorte
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

the Filter.init(FilterConfig) is called before any request is for the filter. This does NOT mean that the init method is called at the first request it receives. But it's not developer's concern the time when the init method is invoked.

I hope this helped you
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!