/** * Constructor for creating complete http traffic objects at once. Private. Use the {@link * newHTTPTrafficSession} method to create objects. * * @param address User's IP address as a string, eg. "10.0.0.1" * @param url The URL that was accessed, as a string, eg. "http://www.hs.fi" * @param sessionID UsaProxy generated HTTP Traffic Index as string, eg. "10993" * @param session The UsaProxy session during which this http traffic occurred */ private UsaProxyHTTPTraffic( String address, String url, String sessionID, UsaProxySession session, UsaProxyHTTPTrafficStartEntry entry) { super(); setEntry(entry); setAddress(UsaProxyLog.ipAddressStringToInetAddress(address)); setUrl(url); this.sessionID = Integer.valueOf(sessionID); setSession(session); }
void setAddressString(String address) { setAddress(UsaProxyLog.ipAddressStringToInetAddress(address)); }