mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-21 05:50:18 +08:00
tiny doc & debug changes
This commit is contained in:
parent
a4d8965b28
commit
709ace0e0a
@ -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);
|
||||
|
@ -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=\"/\";");
|
||||
|
@ -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
|
||||
*/
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user