Interface Resolver
- All Known Subinterfaces:
NoAuthResolver
- All Known Implementing Classes:
CompositeResolver
,ErrorsJSONResolver
,ErrorsPageResolver
,ExtensionJSONResolver
,FiltersJSONResolver
,FunctionalResolverWrapper
,GraphsJSONResolver
,JSONResolver
,LocaleJSONResolver
,LoginPageResolver
,LoginResolver
,LogoutResolver
,MetadataJSONResolver
,NetworkMetadataJSONResolver
,NetworkPerformanceJSONResolver
,NetworkTabJSONResolver
,PlayerJoinAddressJSONResolver
,PlayerJSONResolver
,PlayerKillsJSONResolver
,PlayerPageResolver
,PlayersPageResolver
,PlayersTableJSONResolver
,PublicHtmlResolver
,QueryJSONResolver
,QueryPageResolver
,RegisterPageResolver
,RegisterResolver
,RetentionJSONResolver
,RootPageResolver
,ServerIdentityJSONResolver
,ServerPageResolver
,ServerTabJSONResolver
,SessionsJSONResolver
,StaticResourceResolver
,SwaggerJsonResolver
,SwaggerPageResolver
,VersionJSONResolver
,WhoAmIJSONResolver
public interface Resolver
Interface for resolving requests of Plan webserver.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Implement access control if authorization is enabled.default ResponseBuilder
default boolean
requiresAuth
(Request request) Implement request resolution.
-
Method Details
-
canAccess
Implement access control if authorization is enabled.Is not called when access control is not active.
- Parameters:
request
- HTTP request, contains all information necessary to check access.- Returns:
- true if allowed or invalid target, false if response should be 403 (forbidden)
- See Also:
-
resolve
Implement request resolution.- Parameters:
request
- HTTP request, contains all information necessary to resolve the request.- Returns:
- Response or empty if the response should be 404 (not found).
- See Also:
-
newResponseBuilder
-
requiresAuth
-