@Singleton
public class ResponseFactory
extends java.lang.Object
Response
objects.Constructor and Description |
---|
ResponseFactory(VersionCheckSystem versionCheckSystem,
PlanFiles files,
PageFactory pageFactory,
Locale locale,
DBSystem dbSystem,
com.djrapitops.plugin.logging.error.ErrorHandler errorHandler) |
@Inject public ResponseFactory(VersionCheckSystem versionCheckSystem, PlanFiles files, PageFactory pageFactory, Locale locale, DBSystem dbSystem, com.djrapitops.plugin.logging.error.ErrorHandler errorHandler)
public Response debugPageResponse()
public Response playersPageResponse()
public ErrorResponse internalErrorResponse(java.lang.Throwable e, java.lang.String s)
public Response networkPageResponse()
public RawDataResponse rawPlayerPageResponse(java.util.UUID uuid)
public RawDataResponse rawServerPageResponse(java.util.UUID serverUUID)
public Response javaScriptResponse(java.lang.String fileName)
public Response cssResponse(java.lang.String fileName)
public Response redirectResponse(java.lang.String location)
public Response faviconResponse()
public ErrorResponse pageNotFound404()
public ErrorResponse uuidNotFound404()
public ErrorResponse playerNotFound404()
public ErrorResponse serverNotFound404()
public ErrorResponse notFound404(java.lang.String message)
public ErrorResponse basicAuthFail(WebUserAuthException e)
public ErrorResponse forbidden403()
public ErrorResponse forbidden403(java.lang.String message)
public ErrorResponse unauthorizedServer(java.lang.String message)
public ErrorResponse gatewayError504(java.lang.String message)
public ErrorResponse basicAuth()
public ErrorResponse refreshingAnalysisResponse()