nl.surfnet.coin.shared.log
Class ApiCallLog

java.lang.Object
  extended by nl.surfnet.coin.shared.log.ApiCallLog

public class ApiCallLog
extends Object

Representation of a request to os.surfconext or api.surfconext.nl. Stored to be able to produce reporting about the use of these endpoints


Constructor Summary
ApiCallLog()
           
 
Method Summary
 String getApiVersion()
           
 String getConsumerKey()
           
 String getIpAddress()
           
 String getResourceUrl()
           
 String getSpEntityId()
           
 Date getTimestamp()
           
 String getUserId()
           
 void setApiVersion(String apiVersion)
           
 void setConsumerKey(String consumerKey)
           
 void setIpAddress(String ipAddress)
           
 void setResourceUrl(String resourceUrl)
           
 void setSpEntityId(String spEntityId)
           
 void setTimestamp(Date timestamp)
           
 void setUserId(String userId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiCallLog

public ApiCallLog()
Method Detail

getUserId

public String getUserId()
Returns:
the userId

getSpEntityId

public String getSpEntityId()
Returns:
the spEntityId

getIpAddress

public String getIpAddress()
Returns:
the ipAddress

getApiVersion

public String getApiVersion()
Returns:
the apiVersion

getResourceUrl

public String getResourceUrl()
Returns:
the resourceUrl

getConsumerKey

public String getConsumerKey()
Returns:
the consumerKey

setUserId

public void setUserId(String userId)
Parameters:
userId - the userId to set

setSpEntityId

public void setSpEntityId(String spEntityId)
Parameters:
spEntityId - the spEntityId to set

setIpAddress

public void setIpAddress(String ipAddress)
Parameters:
ipAddress - the ipAddress to set

setApiVersion

public void setApiVersion(String apiVersion)
Parameters:
apiVersion - the apiVersion to set

setResourceUrl

public void setResourceUrl(String resourceUrl)
Parameters:
resourceUrl - the resourceUrl to set

setConsumerKey

public void setConsumerKey(String consumerKey)
Parameters:
consumerKey - the consumerKey to set

getTimestamp

public Date getTimestamp()
Returns:
the timestamp

setTimestamp

public void setTimestamp(Date timestamp)
Parameters:
timestamp - the timestamp to set


Copyright © 2009–2013 SURFnet bv, The Netherlands. All rights reserved.