return new File(realPath);
}
@Override
protected boolean requestCanCreateSession(VaadinRequest request) {
RequestType requestType = getRequestType(request);
if (requestType == RequestType.BROWSER_DETAILS) {
// This is the first request if you are embedding by writing the
// embedding code yourself
return true;
} else if (requestType == RequestType.OTHER) {