@Singleton
public class ConnectionLog
extends java.lang.Object
ConnectionOut
and ConnectionIn
objects get as response.Modifier and Type | Class and Description |
---|---|
static class |
ConnectionLog.Entry |
Constructor and Description |
---|
ConnectionLog(com.djrapitops.plugin.logging.debug.DebugLogger debugLogger) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,ConnectionLog.Entry>> |
getLogEntries() |
void |
logConnectionFrom(java.lang.String server,
java.lang.String requestTarget,
int responseCode) |
void |
logConnectionTo(Server server,
InfoRequest request,
int responseCode) |
@Inject public ConnectionLog(com.djrapitops.plugin.logging.debug.DebugLogger debugLogger)
public void logConnectionTo(Server server, InfoRequest request, int responseCode)
public void logConnectionFrom(java.lang.String server, java.lang.String requestTarget, int responseCode)
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,ConnectionLog.Entry>> getLogEntries()