aspose file tools*
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 Spring in Action this week in the Spring 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: 61420
    
  67

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]
 
Consider Paul's rocket mass heater.
 
subject: Get Request Instance ID and Request Start Time from HTTP Request