Open SiteSearch 4.1.1
Final

ORG.oclc.jassi
Class JaSSIUserHistory

java.lang.Object
  |
  +--ORG.oclc.jassi.UserHistory
        |
        +--ORG.oclc.jassi.JaSSIUserHistory

public class JaSSIUserHistory
extends UserHistory

The JaSSIUserHistory class maintains information about HTTP transaction activity performed within JaSSI for a specific user.


Field Summary
protected static String[] actions
          Textual names for the actions are the offsets into the array that matches the action integer code.
 HttpMessage httpInputData
          String data type containing the input URL and the HTTP header for the request sent from the standard server.
static int HTTPMESSAGE
          integer data type defining an HTTP Message history entry (50).
 String httpResponseHeader
          String data type containing the HTTP header for the response to the standard server.
 String peerAddress
          The user's Peer-Address.
 String peerHost
          The user's Peer-Host.
 
Fields inherited from class ORG.oclc.jassi.UserHistory
action, defaultActions, endtime, peerHostAddress, SHUTDOWN, START, status, threadId, timestamp
 
Constructor Summary
JaSSIUserHistory(int activity)
          Constructs a JaSSIUserHistory object.
 
Method Summary
 String decodeAction(int action)
          Decodes the action performed into text.
 String peerAddress()
          Gets the peerAddress from the user's HTTP headers.
 String peerHost()
          Gets the peerHost from the user's HTTP headers.
 String toString()
          Generates a String representation of this object.
 void update(String httpResponseHeader)
          Update the stat with the http response header.
 
Methods inherited from class ORG.oclc.jassi.UserHistory
action, endtime, status, threadId, timestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

actions

protected static final String[] actions
Textual names for the actions are the offsets into the array that matches the action integer code.

HTTPMESSAGE

public static final int HTTPMESSAGE
integer data type defining an HTTP Message history entry (50).

peerHost

public String peerHost
The user's Peer-Host.

peerAddress

public String peerAddress
The user's Peer-Address.

httpResponseHeader

public String httpResponseHeader
String data type containing the HTTP header for the response to the standard server.

httpInputData

public HttpMessage httpInputData
String data type containing the input URL and the HTTP header for the request sent from the standard server.
Constructor Detail

JaSSIUserHistory

public JaSSIUserHistory(int activity)
Constructs a JaSSIUserHistory object.
Method Detail

update

public void update(String httpResponseHeader)
Update the stat with the http response header.

peerHost

public String peerHost()
Gets the peerHost from the user's HTTP headers.
Returns:
the user's Peer-Host.

peerAddress

public String peerAddress()
Gets the peerAddress from the user's HTTP headers.
Returns:
the user's Peer-Address.

toString

public String toString()
Generates a String representation of this object.
Overrides:
toString in class UserHistory

decodeAction

public String decodeAction(int action)
Decodes the action performed into text.
Parameters:
action - the action performed on an HTTP transaction.
Returns:
the String value of the action performed.
Overrides:
decodeAction in class UserHistory

Open SiteSearch 4.1.1
Final