public class JDBCLogHandler extends Object implements HttpHandler, Runnable
Modifier and Type | Class and Description |
---|---|
static class | JDBCLogHandler.Builder |
Modifier and Type | Field and Description |
---|---|
protected boolean | useLongContentLength |
Constructor and Description |
---|
JDBCLogHandler(HttpHandler next, Executor logWriteExecutor, String formatString, DataSource dataSource) Deprecated. |
JDBCLogHandler(HttpHandler next, String formatString, DataSource dataSource) |
@Deprecated public JDBCLogHandler(HttpHandler next, Executor logWriteExecutor, String formatString, DataSource dataSource)
public JDBCLogHandler(HttpHandler next, String formatString, DataSource dataSource)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeException
public void logMessage(String pattern, HttpServerExchange exchange)
public boolean isUseLongContentLength()
public void setUseLongContentLength(boolean useLongContentLength)
public String getTableName()
public void setTableName(String tableName)
public String getRemoteHostField()
public void setRemoteHostField(String remoteHostField)
public String getUserField()
public void setUserField(String userField)
public String getTimestampField()
public void setTimestampField(String timestampField)
public String getVirtualHostField()
public void setVirtualHostField(String virtualHostField)
public String getMethodField()
public void setMethodField(String methodField)
public String getQueryField()
public void setQueryField(String queryField)
public String getStatusField()
public void setStatusField(String statusField)
public String getBytesField()
public void setBytesField(String bytesField)
public String getRefererField()
public void setRefererField(String refererField)
public String getUserAgentField()
public void setUserAgentField(String userAgentField)
Copyright © 2020 JBoss by Red Hat. All rights reserved.