return new ISISession(request);
}
@Override
public RequestCycle newRequestCycle (final Request request, final Response response) {
return new DataRequestCycle (this, (WebRequest) request, (WebResponse) response) {
@Override
public Page onRuntimeException(final Page cause, final RuntimeException e) {
super.onRuntimeException(cause, e); // Executes some methods
return new ExceptionPage(cause != null ? cause.getPageParameters() : null, e);