tiny doc & debug changes

This commit is contained in:
Rsl1122 2017-11-22 10:29:02 +02:00
parent a4d8965b28
commit 709ace0e0a
4 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ public class APIRequestHandler implements HttpHandler {
try {
Response response = responseHandler.getAPIResponse(request);
if (Settings.DEV_MODE.isTrue()) {
Log.debug(request.toString(), response.toString());
Log.debug(request.toString() + " Response code: " + response.getCode());
}
response.setResponseHeaders(responseHeaders);
response.send(exchange);

View File

@ -36,7 +36,7 @@ public class RequestHandler implements HttpHandler {
try {
Response response = responseHandler.getResponse(request);
if (Settings.DEV_MODE.isTrue()) {
Log.debug(request.toString(), "Response code: " + response.getCode());
Log.debug(request.toString() + " Response code: " + response.getCode());
}
if (response instanceof PromptAuthorizationResponse) {
responseHeaders.set("WWW-Authenticate", "Basic realm=\"/\";");

View File

@ -12,7 +12,7 @@ import main.java.com.djrapitops.plan.utilities.html.Html;
import java.util.List;
/**
* Utility Class for creating Actions Table for inspect page.
* Utility Class for creating IP Table for inspect page.
*
* @author Rsl1122
*/

View File

@ -11,7 +11,7 @@ import java.util.Map;
import java.util.UUID;
/**
* Utility Class for creating Actions Table for inspect page.
* Utility Class for creating Nicknames Table for inspect page.
*
* @author Rsl1122
*/