Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



google/appengine/api/log/RequestLog.php

Table of Contents
Copyright 2007 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

\google\appengine\api\log\RequestLog

Package: Default
Represents the details of a single request and may optionally contain application logs written during the request using the syslog function.

Methods

method public getAppEngineRelease () : string

Returns
Type Description
string App Engine Release, e.g. "1.8.4"
method public getAppId () : string

Returns
Type Description
string The application ID that handled this request.
method public getAppLogs () : \google\appengine\api\log\AppLogLine[]

Returns
Type Description
\google\appengine\api\log\AppLogLine[] The {@link AppLogLine}s added during this request.
method public getCombined () : string

Returns
Type Description
string The Apache-format combined log entry for this request. While the information in this field can be constructed from the rest of this message, we include this method for convenience.
method public getEndDateTime () : \google\appengine\api\log\DateTime

Returns
Type Description
\google\appengine\api\log\DateTime The same value as {@link getEndTimeUsec()} as a DateTime instance accurate to the second. For greater accuracy use {@link getEndTimeUsec()}.
method public getEndTimeUsec () : double

Returns
Type Description
double The time at which the request finished processing, in microseconds since the Unix epoch.
method public getHost () : string

Returns
Type Description
string The Internet host and port number of the resource being requested.
method public getHttpVersion () : string

Returns
Type Description
string The HTTP version of this request.
method public getInstanceIndex () : integer

Returns
Type Description
integer The module instance that handled the request if manual_scaling or basic_scaling is configured or -1 for automatic_scaling.
method public getInstanceKey () : string

Returns
Type Description
string Mostly-unique identifier for the instance that handled the request, or the empty string.
method public getIp () : string

Returns
Type Description
string The origin IP address of this request. App Engine uses an origin IP address from the 0.0.0.0/8 range when the request is to a web hook. Some examples of web hooks are task queues, cron jobs and warming requests.
method public getLatencyUsec () : double

Returns
Type Description
double The time required to process this request in microseconds.
method public getMethod () : string

Returns
Type Description
string The request's HTTP method (e.g., GET, PUT, POST).
method public getModuleId () : string

Returns
Type Description
string The version of the application that handled this request.
method public getNickname () : string

Returns
Type Description
string The nickname of the user that made the request. An empty string is returned if the user is not logged in.
method public getOffset () : string

Returns
Type Description
string A url safe value that may be used as an option to <code>LogService::fetch($options)</code> to continue reading after this log.
method public getPendingTimeUsec () : double

Returns
Type Description
double The time, in microseconds, that this request spent in the pending request queue, if it was pending at all.
method public getReferrer () : string

Returns
Type Description
string The referrer URL of this request.
method public getRequestId () : string

Returns
Type Description
string A globally unique identifier for a request, based on the request's starting time.
method public getResource () : string

Returns
Type Description
string The resource path on the server requested by the client. Contains only the path component of the request URL.
method public getResponseSize () : integer

Returns
Type Description
integer The size (in bytes) of the response sent back to the client.
method public getStartDateTime () : \google\appengine\api\log\DateTime

Returns
Type Description
\google\appengine\api\log\DateTime The same value as {@link getStartTimeUsec()} as a DateTime instance accurate to the second. For greater accuracy use {@link getStartTimeUsec()}.
method public getStartTimeUsec () : double

Returns
Type Description
double The time at which this request began processing, in microseconds since the Unix epoch.
method public getStatus () : integer

Returns
Type Description
integer The HTTP response status of this request.
method public getTaskName () : string

Returns
Type Description
string The request's task name, if this request was generated via the Task Queue API.
method public getTaskQueueName () : string

Returns
Type Description
string The request's queue name, if this request was generated via the Task Queue API.
method public getUrlMapEntry () : string

Returns
Type Description
string The file or class within the URL mapping used for this request. Useful for tracking down the source code which was responsible for managing the request, especially for multiply mapped handlers.
method public getUserAgent () : string

Returns
Type Description
string The user agent used to make this request.
method public getVersionId () : string

Returns
Type Description
string The version of the application that handled this request.
method public isFinished () : boolean

Returns
Type Description
boolean Whether or not this request has finished processing. If not, this request is still active.
method public isLoadingRequest () : boolean

Returns
Type Description
boolean Whether or not this request was a loading request.
Documentation was generated by phpDocumentor 2.0.0a12 .