DocumentFactory factory = DocumentUtil.createDocumentFactory(this.manager, session);
String url = ServletHelper.getWebappURI(_request);
URLInformation info = new URLInformation(url);
Publication pub = factory.getPublication(info.getPublicationId());
Area area = pub.getArea(info.getArea());
this.rewriter = new UrlToUuidRewriter(area);
} catch (final Exception e1) {
throw new ProcessingException(e1);
}
}