@Singleton public class InfoRequestPageHandler extends java.lang.Object implements PageHandler
Used for answering info requests by other servers.
requestclassname should be replaced with lowercase version of Class.getSimpleName()
Constructor and Description |
---|
InfoRequestPageHandler(DBSystem dbSystem,
ConnectionSystem connectionSystem,
ResponseFactory responseFactory,
com.djrapitops.plugin.logging.console.PluginLogger logger) |
Modifier and Type | Method and Description |
---|---|
Response |
getResponse(Request request,
RequestTarget target)
Get the Response of a PageHandler.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAuthorized
@Inject public InfoRequestPageHandler(DBSystem dbSystem, ConnectionSystem connectionSystem, ResponseFactory responseFactory, com.djrapitops.plugin.logging.console.PluginLogger logger)
public Response getResponse(Request request, RequestTarget target) throws WebException
PageHandler
getResponse
in interface PageHandler
request
- Request in case it is useful for choosing page.target
- Rest of the target coordinates after this page has been solved.WebException