public interface RequestLogger
| Modifier and Type | Method and Description | 
|---|---|
| void | addSql(String sql)Adds a SQL statement generated during request processing. | 
| List<String> | getSql()Returns list of SQL statements generated during request processing. | 
| void | log(int responseCode)Logs exceptional response without an exception. | 
| void | log(int responseCode,
   Exception exception)Logs exceptional response with an exception. | 
| void | log(String responseBody)Logs normal response. | 
| void | setHttpRequestAttributes(HttpRequestAttributes httpRequestAttributes)Sets attributes of an HTTP request. | 
| void | setRequest(Request request)Sets request. | 
void addSql(String sql)
List<String> getSql()
void log(int responseCode)
void log(int responseCode,
       Exception exception)
void log(String responseBody)
void setHttpRequestAttributes(HttpRequestAttributes httpRequestAttributes)
Request
 creation.Copyright © 2011-2018 restSQL Project Contributors