com.github.inspektr.common.web
Class ClientInfo

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

public final class ClientInfo
extends 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, String alternateLocation)
           
ClientInfo(String serverIpAddress, String clientIpAddress)
           
 
Method Summary
 String getClientIpAddress()
           
 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,
                  String alternateLocation)

ClientInfo

public ClientInfo(String serverIpAddress,
                  String clientIpAddress)
Method Detail

getServerIpAddress

public String getServerIpAddress()

getClientIpAddress

public String getClientIpAddress()


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