@Singleton
public class ResponseResolver
extends java.lang.Object
- Some URLs are resolved with other PageResolvers pointed at pages. - Some URLs point to resources that are resolved differently, those implementations are in this file.
Constructor and Description |
---|
ResponseResolver(ResolverSvc resolverService,
ResponseFactory responseFactory,
dagger.Lazy<WebServer> webServer,
DebugPageResolver debugPageResolver,
PlayersPageResolver playersPageResolver,
PlayerPageResolver playerPageResolver,
ServerPageResolver serverPageResolver,
RootPageResolver rootPageResolver,
RootJSONResolver rootJSONResolver,
StaticResourceResolver staticResourceResolver,
LoginPageResolver loginPageResolver,
RegisterPageResolver registerPageResolver,
LoginResolver loginResolver,
LogoutResolver logoutResolver,
RegisterResolver registerResolver,
ErrorLogger errorLogger) |
Modifier and Type | Method and Description |
---|---|
Response |
getResponse(Request request) |
void |
registerPages() |
@Inject public ResponseResolver(ResolverSvc resolverService, ResponseFactory responseFactory, dagger.Lazy<WebServer> webServer, DebugPageResolver debugPageResolver, PlayersPageResolver playersPageResolver, PlayerPageResolver playerPageResolver, ServerPageResolver serverPageResolver, RootPageResolver rootPageResolver, RootJSONResolver rootJSONResolver, StaticResourceResolver staticResourceResolver, LoginPageResolver loginPageResolver, RegisterPageResolver registerPageResolver, LoginResolver loginResolver, LogoutResolver logoutResolver, RegisterResolver registerResolver, ErrorLogger errorLogger)