Class DefaultRealmContextResolver
java.lang.Object
org.apache.polaris.service.context.DefaultRealmContextResolver
- All Implemented Interfaces:
RealmContextResolver
@ApplicationScoped
@Identifier("default")
public class DefaultRealmContextResolver
extends Object
implements RealmContextResolver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCompletionStage<org.apache.polaris.core.context.RealmContext> Resolves the realm context for the given request, and returns aCompletionStagethat completes with the resolved realm context.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.polaris.service.context.RealmContextResolver
resolveRealmContext
-
Constructor Details
-
DefaultRealmContextResolver
-
-
Method Details
-
resolveRealmContext
public CompletionStage<org.apache.polaris.core.context.RealmContext> resolveRealmContext(String requestURL, String method, String path, Function<String, String> headers) Description copied from interface:RealmContextResolverResolves the realm context for the given request, and returns aCompletionStagethat completes with the resolved realm context.- Specified by:
resolveRealmContextin interfaceRealmContextResolver- Returns:
- a
CompletionStagethat completes with the resolved realm context
-