You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jubal Skaggs <ju...@admin.state.ak.us> on 2004/05/08 02:18:26 UTC
request.getHeader() ?
Hi all, starting to dip into tapestry a bit and I'm looking for a way to
get values out of the http headers.
I see that in a BasePage object I can:
.getRequestCycle().getRequestContext()
And I see methods there to get values of session attributes, and url
properties -- but, no request.getHeader()
Anyone see anything obvious I can do?
Thanks so much for a wonderful framework!
-Jubal
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: request.getHeader() ?
Posted by Jubal Skaggs <ju...@admin.state.ak.us>.
Duh, sorry, figured it out myself.
getRequestCycle().getRequestContext().getRequest().getHeader("whatever");
Jubal Skaggs wrote:
> Hi all, starting to dip into tapestry a bit and I'm looking for a way
> to get values out of the http headers.
>
> I see that in a BasePage object I can:
> .getRequestCycle().getRequestContext()
> And I see methods there to get values of session attributes, and url
> properties -- but, no request.getHeader()
>
> Anyone see anything obvious I can do?
>
> Thanks so much for a wonderful framework!
> -Jubal
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org