Package org.red5.server.api
Interface IMappingStrategy
- All Known Implementing Classes:
MappingStrategy
public interface IMappingStrategy
This interface encapsulates the mapping strategy used by the context.
-
Method Summary
Modifier and TypeMethodDescriptionmapResourcePrefix
(String contextPath) Map a context path to a path prefix for resources.mapScopeHandlerName
(String contextPath) Map a context path to the name of a scope handler.mapServiceName
(String name) Map a name to the name of a service.
-
Method Details
-
mapServiceName
Map a name to the name of a service.- Parameters:
name
- name to map- Returns:
- The name of the service with the passed name
-
mapScopeHandlerName
Map a context path to the name of a scope handler.- Parameters:
contextPath
- context path to map- Returns:
- The name of a scope handler
-
mapResourcePrefix
Map a context path to a path prefix for resources.- Parameters:
contextPath
- context path to map- Returns:
- The path prefix for resources with the given name
-