Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Makilaj,
On 3/14/14, 8:32 AM, Mikolaj Rydzewski wrote:
On 14.03.2014 13:25, André Warnier wrote:
Not a direct answer to your question, but this subject comes up
so often that maybe a generic explanation may help.
[..
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Makilaj,
On 3/14/14, 8:32 AM, Mikolaj Rydzewski wrote:
> On 14.03.2014 13:25, André Warnier wrote:
>
>> Not a direct answer to your question, but this subject comes up
>> so often that maybe a generic explanation may help.
> [...]
>> So any attempt
On 14.03.2014 13:25, André Warnier wrote:
Not a direct answer to your question, but this subject comes up so
often that maybe a generic explanation may help.
[...]
So any attempt at that point by the webapp (filters, servlet,
whatever) to modify the status or the headers will be met by a refus
Brendan Miller wrote:
I have a filter with doFilter method like this:
public void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws IOException, ServletException {
HttpServletRequest req = (H
> From: Tim Watts [mailto:t...@cliftonfarm.org]
> Subject: Re: filter question
> Doing this in a Filter, while intuitively sensible, will always be a
> highly fragile solution. You would have to set a buffer large enough to
> accommodate the largest conceivable response size.
On Thu, 2014-03-13 at 23:16 -0400, Tim Watts wrote:
> On Thu, 2014-03-13 at 19:11 -0700, Brendan Miller wrote:
> > To be clear, I'm trying to modify the response that comes back from the
> > service. I have a header that I may or may not need to set based on the
> > response code. I believe the ser
On Thu, 2014-03-13 at 19:11 -0700, Brendan Miller wrote:
> I'm confused by what you mean by that. Are you saying I need to somehow
> rewrite the class of the FilterChain object passed to my filter?
>
I think you're somewhat new to the list. Mr. Gainty is notorious here
and seems to pride himself
> From: Brendan Miller [mailto:catph...@catphive.net]
> Subject: Re: filter question
> On Thu, Mar 13, 2014 at 6:20 PM, Martin Gainty wrote:
> > you'll need to pass your modified response to service method of servlet
> > which is *in* the filterChain
> I'm
I'm confused by what you mean by that. Are you saying I need to somehow
rewrite the class of the FilterChain object passed to my filter?
To be clear, I'm trying to modify the response that comes back from the
service. I have a header that I may or may not need to set based on the
response code. I
On Thu, 2014-03-13 at 21:20 -0400, Martin Gainty wrote:
> you'll need to pass your modified response to service method of
> servlet which is *in* the filterChain
Utter nonsense.
> ApplicationFilterChain::internalDoFilter(ServletRequest request,
> ServletResponse response)
> throws IOExcep
On Thu, 2014-03-13 at 17:51 -0700, Brendan Miller wrote:
> I have a filter with doFilter method like this:
>
> public void doFilter(ServletRequest request,
> ServletResponse response,
> FilterChain chain)
> throws IOException, ServletEx
you'll need to pass your modified response to service method of servlet which
is *in* the filterChain
ApplicationFilterChain::internalDoFilter(ServletRequest request,
ServletResponse response)
throws IOException, ServletException
{
servlet.service(request, response);
...
12 matches
Mail list logo