Package org.red5.server.api.scope
Interface IScopeResolver
- All Known Implementing Classes:
ScopeResolver
public interface IScopeResolver
Resolve the scope from given a host and path. Resolver implementations depend on context naming strategy and so forth.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the global scope.resolveScope
(String path) Get the scope for a given path.resolveScope
(IScope root, String path) Get the scope for a given path from a root scope.
-
Method Details
-
getGlobalScope
IGlobalScope getGlobalScope()Return the global scope.- Returns:
- Global scope
-
resolveScope
Get the scope for a given path.- Parameters:
path
- Path to return the scope for- Returns:
- Scope for passed path
- Throws:
ScopeNotFoundException
- If scope doesn't exist an can't be created
-
resolveScope
Get the scope for a given path from a root scope.- Parameters:
root
- The scope to start traversing from.path
- Path to return the scope for.- Returns:
- Scope for passed path.
-