permaculture playing cards*
The moose likes Servlets and the fly likes Get Request Instance ID and Request Start Time from HTTP Request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Get Request Instance ID and Request Start Time from HTTP Request" Watch "Get Request Instance ID and Request Start Time from HTTP Request" New topic
Author

Get Request Instance ID and Request Start Time from HTTP Request

Natalie Kopple
Ranch Hand

Joined: May 06, 2003
Posts: 325
If I receive a HTTP Request from web, how do I get the "request instance ID" and "requst start time" from this HTTP request? (Note: I import org.apache.http.HttpRequest;)

Thank you for your help.

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60817
    
  65

org.apache.http.HttpRequest is not part of the Servlet API. What are your intentions in using it?

If your intention is to handle the request in a servlet, then the correct interface is javax.servlet.http.HttpServletRequest.

And neither "instance id" nor "start time" are supported properties.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: Get Request Instance ID and Request Start Time from HTTP Request
 
Similar Threads
Garbage collection with CMP Entity beans
Pass Lots of Parameters to Methods
distinguishing 2 browsers in the same session.
Request Instance ID and Request Start Time
Getting started with J2EE