tracker issue : CF-3844994

select a category, or use search below
(searches all categories and all time range)

[ANeff] ER for: RequestGetMetadata()

| View in Tracker

Status/Resolution/Reason: To Fix//

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 10/29/2014

Components: Language

Versions: 11.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Platforms All

Vote Count: 0

RequestGetMetadata().timeout could be a shortcut for createObject("java", "coldfusion.runtime.RequestMonitor").getRequestTimeout().

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3844994

External Customer Info:
External Company:  
External Customer Name: itisdesign
External Customer Email:



Could the title please be shortened to "[ANeff] ER for: RequestGetMetadata()"? I'd like to include RequestGetMetadata().isHTTPRequest. That would be a shortcut for the following (determines if a request is HTTP or not): isHTTPRequest = (structCount(getHTTPRequestData())?:false)?true:false; Thanks!, -Aaron
Comment by External U.
10384 | November 23, 2014 02:53:07 AM GMT
edited the title as requested by Aaron.
Comment by Rupesh K.
10385 | November 24, 2014 08:22:23 AM GMT
Hi Rupesh, Thanks very much! I was never notified by email when you added your comment. I was just looking at the bug grid and saw the title was changed. Thanks!, -Aaron
Comment by External U.
10386 | November 26, 2014 05:35:40 AM GMT
Could RequestGetMetadata().threadName also be supported as a shortcut for createObject("java", "java.lang.Thread").currentThread().getName()? Thanks!, -Aaron
Comment by External U.
10387 | July 22, 2015 02:26:44 PM GMT
Adobe, You need to provide a method to identify if requests are HTTP or not. Adobe even told me this once in another discussion: ----------- "A better thing to do, IMO, is to have a method which tells whether the call is happening in the context of an HTTP request or not." ----------- Since CF CF-3863594 and CF-3154884 were closed, please ensure RequestGetMetadata().isHTTPRequest is added in CF12 (part of this ticket #CF-3844994). And, please note that this ticket, #CF-3844994, is also asking for RequestGetMetadata() to also return request timeout (RequestGetMetadata().timeout) and request's thread name (RequestGetMetadata().threadName). Thanks!, -Aaron
Comment by External U.
10388 | September 15, 2015 01:11:04 PM GMT
In last comment, "Since CF" should just be "Since".
Comment by External U.
10389 | September 15, 2015 01:24:00 PM GMT