Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [servlet-dev] Define term for request object passed to the first servlet

Hi,

Upon second reading, I think it's actually "original request" that is the request that first enters the entire chain, right?

I thought it was the request that entered the Servlet where the async cycle was started.

Kind regards,
Arjan



On Thu, Jun 18, 2020 at 12:33 AM Stuart Douglas <sdouglas@xxxxxxxxxx> wrote:
As long as the documentation is clear on what this means I don't think this is really a big deal. I think that 'Original Request' in the document is pretty clear, and even from the async context point of view I think it is fine as long as as it is clearly documented that it is the original request from the point of view of this context.

Stuart

On Tue, 16 Jun 2020 at 23:47, arjan tijms <arjan.tijms@xxxxxxxxx> wrote:
Hi,

9.4.2 speaks of:

"the request object passed to the first servlet object in the call chain that received the request from the client."

A little later it speaks of:

"Note that these attributes must always reflect the information in the original request"

The term "original request" is somewhat troublesome here, as it's also used in AsyncContext.hasOriginalRequestResponse(), where it has the meaning of the request object passed to the servlet object from which the async cycle is started.

How about we define a clear term for the "the request object passed to the first servlet object in the call chain that received the request from the client."?

E.g. "root request", "chain entry request", "initial request"

Thoughts?

Kind regards,
Arjan Tijms


_______________________________________________
servlet-dev mailing list
servlet-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/servlet-dev
_______________________________________________
servlet-dev mailing list
servlet-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/servlet-dev

Back to the top