Package ch.tocco.nice2.dms.impl.tree.uri
Class ContentProtocolProvider
java.lang.Object
ch.tocco.nice2.dms.impl.tree.uri.ContentProtocolProvider
- All Implemented Interfaces:
- ProtocolProvider
This class provides resolving of HTTP(S)-URIs.
- 
Constructor SummaryConstructorsConstructorDescriptionContentProtocolProvider(ContentUriResolver contentUriResolver, InternalContentUriCache contentUriCache) 
- 
Method Summary
- 
Constructor Details- 
ContentProtocolProviderpublic ContentProtocolProvider(@Lazy ContentUriResolver contentUriResolver, @Lazy InternalContentUriCache contentUriCache) 
 
- 
- 
Method Details- 
resolveResolves a content uri.- Specified by:
- resolvein interface- ProtocolProvider
- Parameters:
- uri- The URI to resolve.
- Returns:
- the resolved target.
- Throws:
- UnresolvableContentUriTargetException- if the URI could not be resolved, but a fallback node was found.
- AccessDeniedException- if the URI could not be resolved because the current user is not permitted to access the target.
- UnresolvableUriException- if something else went wrong or if there is a fallback node which mustn't be accessed by the current user.
 
 
-