com.github.inspektr.common.web
Class ClientInfo

java.lang.Object
  extended by com.github.inspektr.common.web.ClientInfo

public final class ClientInfo
extends java.lang.Object

Captures information from the HttpServletRequest to log later.

Since:
1.0
Version:
$Revision$ $Date$
Author:
Scott Battaglia

Field Summary
static ClientInfo EMPTY_CLIENT_INFO
           
 
Constructor Summary
ClientInfo(javax.servlet.http.HttpServletRequest request)
           
ClientInfo(javax.servlet.http.HttpServletRequest request, java.lang.String alternateLocation)
           
ClientInfo(java.lang.String serverIpAddress, java.lang.String clientIpAddress)
           
 
Method Summary
 java.lang.String getClientIpAddress()
           
 java.lang.String getServerIpAddress()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_CLIENT_INFO

public static ClientInfo EMPTY_CLIENT_INFO
Constructor Detail

ClientInfo

public ClientInfo(javax.servlet.http.HttpServletRequest request)

ClientInfo

public ClientInfo(javax.servlet.http.HttpServletRequest request,
                  java.lang.String alternateLocation)

ClientInfo

public ClientInfo(java.lang.String serverIpAddress,
                  java.lang.String clientIpAddress)
Method Detail

getServerIpAddress

public java.lang.String getServerIpAddress()

getClientIpAddress

public java.lang.String getClientIpAddress()


Copyright © 2007-2011 Rutgers, the State University of New Jersey. All Rights Reserved.