@Override
protected int beforeHandle(Request request, Response response) {
String repositoryID = getRepositoryID(request);
logger.debug("{}={}", REPOSITORY_ID_PARAM, repositoryID);
ServerRepositoryManager manager = ((SesameApplication)getApplication()).getServerRepositoryManager();
try {
ServerRepository repository = manager.getRepository(repositoryID);
if (repository != null) {
RequestAtt.setRepository(request, repository);
return Filter.CONTINUE;
}