Servertec   AccessLogEntry
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Add-ons
How To
Change Log
Future Plans
Knowledge Base
Documentation
Conventions
Users
Reference
iServer API
AccessLogEntry
Codecs
Connection
ConnectionPool...
DString
ErrorLogEntry
EventLogEntry
FileCache
FileUpload
IOHandler
IOManager
iws
Logger
MultiPartForm
QuickSort
QuickSortString...
Realm
RealmAdmin...
RealmManager
ServletContextImpl
ServletContext...
ServletImpl
ServletManager
Utils

Servlet API
CGI
SSI
Servlets
Config Files
Log Files
Classes
Directory Tree

Samples
Sales
Legal
Feedback

 

java.lang.Object
 |
 +--stec.iws.AccessLogEntry

public class AccessLogEntry

Defines variables used by iServer for logging access.

Fields

Field Description
baseURI The requested URI.
contentLength The number of bytes sent to the client.
errorCode An extended error code.
host The name of the host server the request was sent to.
localAddress The IP address of the server the request was sent to.
port The port used.
protocol The request protocol.
queryString Any form parameters sent.
referer The URL from where the request was made.
remoteAddress The IP address of the client making the request.
remoteHost The name of the client making the request.
remoteUser The client's name.
requestLength The number of bytes sent by the client.
requestMethod The request method being made.
requestURI The request made by the client.
responseTime The number of milliseconds the server spent processing the client's request.
serverService The server service being processing the request.
statusCode The status code the server sent to the client.
timestamp When the access occurred in milliseconds since January 1, 1970, 00:00:00 GMT.
userAgent The client making the request.

baseURI

The requested URI.

Syntax

public String baseURI

Example

os.print(entry.baseURI);

contentLength

The number of bytes sent to the client.

Syntax

public long contentLength

Example

os.print(entry.contentLength);

errorCode

An extended error code.

Syntax

public int errorCode

Example

os.print(entry.errorCode);

host

The name of the host server the request was sent to.

Syntax

public String host

Example

os.print(entry.host);

localAddress

The IP address of the server the request was sent to.

Syntax

public String localAddress

Example

os.print(entry.localAddress);

port

The port used.

Syntax

public int port

Example

os.print(entry.port);

protocol

The request protocol.

Syntax

public String protocol

Example

os.print(entry.protocol);

queryString

Any form parameters sent.

Syntax

public String queryString

Example

os.print(entry.queryString);

referer

The URL from where the request was made.

Syntax

public String referer

Example

os.print(entry.referer);

remoteAddress

The IP address of the client making the request.

Syntax

public String remoteAddress

Example

os.print(entry.remoteAddress);

remoteHost

The name of the client making the request.

Syntax

public String remoteHost

Example

os.print(entry.remoteHost);

remoteUser

The client's name.

Syntax

public String remoteUser

Example

os.print(entry.remoteUser);

requestLength

The number of bytes sent by the client.

Syntax

public long requestLength

Example

os.print(entry.requestLength);

requestMethod

The request method being made.

Syntax

public String requestMethod

Example

os.print(entry.requestMethod);

requestURI

The request made by the client.

Syntax

public String requestURI

Example

os.print(entry.requestURI);

responseTime

The number of milliseconds the server spent processing the client's request.

Syntax

public long responseTime

Example

os.print(entry.responseTime);

serverService

The server service being processing the request.

Syntax

public String serverService

Example

os.print(entry.serverService);

statusCode

The status code the server sent to the client.

Syntax

public int statusCode

Example

os.print(entry.statusCode);

timestamp

When the access occurred in milliseconds since January 1, 1970, 00:00:00 GMT.

Syntax

public long timestamp

Example

os.print(new Date(entry.timestamp).toString());

userAgent

The client making the request.

Syntax

public String userAgent

Example

os.print(entry.userAgent);
 top of page
 Built with iScript Copyright © 1997-2000 Servertec. All rights reserved.
Last Modified: Thu Aug 10 13:06:59 EDT 2000