|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fcrepo.server.Parameterized
org.fcrepo.server.Pluggable
org.fcrepo.server.Module
org.fcrepo.server.storage.DefaultExternalContentManager
public class DefaultExternalContentManager
Provides a mechanism to obtain external HTTP-accessible content.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.fcrepo.common.Constants |
|---|
Constants.FedoraHome |
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
DefaultExternalContentManager(Map<String,String> moduleParameters,
Server server,
String role)
Creates a new DefaultExternalContentManager. |
|
| Method Summary | |
|---|---|
MIMETypedStream |
getExternalContent(ContentManagerParams params)
Reads the contents of the specified URL and returns the result as a MIMETypedStream. |
void |
initModule()
Initializes the Module based on configuration parameters. |
| Methods inherited from class org.fcrepo.server.Module |
|---|
getRole, getServer, postInitModule, shutdownModule |
| Methods inherited from class org.fcrepo.server.Pluggable |
|---|
getHelp, getOptionalParameters, getParameterHelp, getRequiredModuleRoles, getRequiredParameters |
| Methods inherited from class org.fcrepo.server.Parameterized |
|---|
getParameter, getParameter, getParameter, getParameterList, getParameters, getParameters, parameterNames, setParameter, setParameters, setParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultExternalContentManager(Map<String,String> moduleParameters,
Server server,
String role)
throws ModuleInitializationException
moduleParameters - The name/value pair map of module parameters.server - The server instance.role - The module role name.
ModuleInitializationException - If initialization values are invalid or initialization fails for
some other reason.| Method Detail |
|---|
public void initModule()
throws ModuleInitializationException
org.fcrepo.server.storage.DefaultExternalContentManager.
initModule in class ModuleModuleInitializationException - If initialization values are invalid or initialization fails for
some other reason.
public MIMETypedStream getExternalContent(ContentManagerParams params)
throws GeneralException,
HttpServiceNotFoundException
ExternalContentManager
getExternalContent in interface ExternalContentManagerGeneralException
HttpServiceNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||