Servertec AccessLogEntry
Documentation
Conventions
Command Line
Java API
AccessLogEntry
Codecs
DString
ErrorLogEntry
EventLogEntry
iws
Logger
ServletManager
Utils

Servlet API
Servlets
Config Files
Classes
Directory Tree

Return

 

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

public final class AccessLogEntry

Defines variables used by Servertec Internet Server for logging access.

Fields

Field Description
baseURI The requested URI.
contentLength The number of bytes sent to the client.
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.
statusCode The status code the server sent to the client.
timestamp When the request occurred.
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);

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);

statusCode

The status code the server sent to the client.

Syntax

public int statusCode

Example

os.print(entry.statusCode);

timestamp

When the request occurred.

Syntax

public long timestamp

Example

os.print(entry.timestamp);

userAgent

The client making the request.

Syntax

public String userAgent

Example

os.print(entry.userAgent);
 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Mon Sep 05 14:25:46 EDT 2005