mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-02 14:37:45 +01:00
tiny doc & debug changes
This commit is contained in:
parent
a4d8965b28
commit
709ace0e0a
@ -34,7 +34,7 @@ public class APIRequestHandler implements HttpHandler {
|
|||||||
try {
|
try {
|
||||||
Response response = responseHandler.getAPIResponse(request);
|
Response response = responseHandler.getAPIResponse(request);
|
||||||
if (Settings.DEV_MODE.isTrue()) {
|
if (Settings.DEV_MODE.isTrue()) {
|
||||||
Log.debug(request.toString(), response.toString());
|
Log.debug(request.toString() + " Response code: " + response.getCode());
|
||||||
}
|
}
|
||||||
response.setResponseHeaders(responseHeaders);
|
response.setResponseHeaders(responseHeaders);
|
||||||
response.send(exchange);
|
response.send(exchange);
|
||||||
|
@ -36,7 +36,7 @@ public class RequestHandler implements HttpHandler {
|
|||||||
try {
|
try {
|
||||||
Response response = responseHandler.getResponse(request);
|
Response response = responseHandler.getResponse(request);
|
||||||
if (Settings.DEV_MODE.isTrue()) {
|
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) {
|
if (response instanceof PromptAuthorizationResponse) {
|
||||||
responseHeaders.set("WWW-Authenticate", "Basic realm=\"/\";");
|
responseHeaders.set("WWW-Authenticate", "Basic realm=\"/\";");
|
||||||
|
@ -12,7 +12,7 @@ import main.java.com.djrapitops.plan.utilities.html.Html;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Utility Class for creating Actions Table for inspect page.
|
* Utility Class for creating IP Table for inspect page.
|
||||||
*
|
*
|
||||||
* @author Rsl1122
|
* @author Rsl1122
|
||||||
*/
|
*/
|
||||||
|
@ -11,7 +11,7 @@ import java.util.Map;
|
|||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Utility Class for creating Actions Table for inspect page.
|
* Utility Class for creating Nicknames Table for inspect page.
|
||||||
*
|
*
|
||||||
* @author Rsl1122
|
* @author Rsl1122
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user