Re: application awake, kind of request?
Re: application awake, kind of request?
- Subject: Re: application awake, kind of request?
- From: René Bock <email@hidden>
- Date: Tue, 22 Jan 2019 10:33:26 +0000
- Thread-topic: application awake, kind of request?
Hi,
in Your Application class you may override dispatchRequest e.g:
public WOResponse dispatchRequest(WORequest aRequest) {
log.info(aRequest.method())+ for |"+aRequest.uri());
return super.dispatchRequest(aRequest);
}
> Am 22.01.2019 um 10:29 schrieb ocs@ocs <email@hidden>:
>
> Hi there,
>
> is there an API which would allow me to determine the kind of request which
> caused the R/R loop in my Application.awake? Presumably I can't get the
> WORequest (for it is not created yet), but e.g., the URL would be quite
> sufficient for me.
>
> I would need to add logs there specific for some direct actions only (there
> are mostly historical/legacy/very stupid, but alas real reasons why logging
> inside of the direct action itself is too late).
>
>
Best regards
René Bock
--
Phone: +49 69 650096 18
salient GmbH, Lindleystraße 12, 60314 Frankfurt
Main: +49 69 65 00 96 0 | http://www.salient-doremus.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden