mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
updates to allow override api utils to disable or alter request details
This commit is contained in:
@ -748,7 +748,7 @@ public class BaseAPIActionUtil
|
||||
{
|
||||
try
|
||||
{
|
||||
String uri = request.getURI().toString();
|
||||
String uri = request.getURI().toString();
|
||||
String pair = backendMetaData.getApiKeyQueryParamName() + "=" + getApiKey();
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
@ -1167,6 +1167,16 @@ public class BaseAPIActionUtil
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
*******************************************************************************/
|
||||
protected void logRequestDetails(QTableMetaData table, HttpRequestBase request) throws QException
|
||||
{
|
||||
LOG.info("Making [" + request.getMethod() + "] request to URL [" + request.getURI() + "] on table [" + table.getName() + "].");
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
*******************************************************************************/
|
||||
@ -1192,7 +1202,7 @@ public class BaseAPIActionUtil
|
||||
setupContentTypeInRequest(request);
|
||||
setupAdditionalHeaders(request);
|
||||
|
||||
LOG.info("Making [" + request.getMethod() + "] request to URL [" + request.getURI() + "] on table [" + table.getName() + "].");
|
||||
logRequestDetails(table, request);
|
||||
if("POST".equals(request.getMethod()))
|
||||
{
|
||||
LOG.info("POST contents [" + ((HttpPost) request).getEntity().toString() + "]");
|
||||
|
Reference in New Issue
Block a user