Package org.xwiki.resource
Interface ResourceReferenceHandlerChain
-
public interface ResourceReferenceHandlerChainAllows calling the nextResourceReferenceHandlerin the chain. An instance of this class is passed toResourceReferenceHandler.handle(ResourceReference, ResourceReferenceHandlerChain)and it's up to the Handler implementation to decide if it wants to stop the execution chain or not.- Since:
- 6.1M2
- Version:
- $Id: 55c6f645f0c85391017318d156279affab4d90de $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleNext(ResourceReference reference)Allow the next Handler in the chain an opportunity to handle the passed Resource Reference.
-
-
-
Method Detail
-
handleNext
void handleNext(ResourceReference reference) throws ResourceReferenceHandlerException
Allow the next Handler in the chain an opportunity to handle the passed Resource Reference.- Parameters:
reference- the Resource Reference on which to execute the Handler- Throws:
ResourceReferenceHandlerException- if an error happens during the Handler's execution
-
-