org.olat.modules.webFeed.dispatching
Class FeedMediaDispatcher
java.lang.Object
org.olat.core.logging.LogDelegator
org.olat.modules.webFeed.dispatching.FeedMediaDispatcher
- All Implemented Interfaces:
- Dispatcher
public class FeedMediaDispatcher
- extends LogDelegator
- implements Dispatcher
Dispatch any media files belonging to a podcast which an identity is
authorized to access. The media file can belong to a learning resource or a
course node.
Examples: see Path constructor
Initial Date: Mar 10, 2009
- Author:
- gwassmann
|
Field Summary |
static java.util.Hashtable<java.lang.String,java.lang.String> |
resourceTypes
|
static java.lang.String |
TOKEN_PROVIDER
|
static java.util.Hashtable<java.lang.String,java.lang.String> |
uriPrefixes
|
|
Method Summary |
void |
execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String uriPrefix)
|
static java.lang.String |
getFeedBaseUri(Feed feed,
Identity identity,
java.lang.Long courseId,
java.lang.String nodeId)
Redirect to Path.getFeedBaseUri() |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOKEN_PROVIDER
public static final java.lang.String TOKEN_PROVIDER
- See Also:
- Constant Field Values
resourceTypes
public static java.util.Hashtable<java.lang.String,java.lang.String> resourceTypes
uriPrefixes
public static java.util.Hashtable<java.lang.String,java.lang.String> uriPrefixes
FeedMediaDispatcher
public FeedMediaDispatcher()
execute
public void execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String uriPrefix)
- Specified by:
execute in interface Dispatcher
- See Also:
Dispatcher.execute(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, java.lang.String)
getFeedBaseUri
public static java.lang.String getFeedBaseUri(Feed feed,
Identity identity,
java.lang.Long courseId,
java.lang.String nodeId)
- Redirect to Path.getFeedBaseUri()
- Parameters:
feed - identityKey -
- Returns:
- The feed base uri for the given user (identity)