public class UnsupportedBrowserHandler extends SynchronizedRequestHandler
RequestHandler that presents an informative page if the browser in
use is unsupported.SynchronizedRequestHandler.ResponseWriter| Modifier and Type | Field and Description |
|---|---|
static String |
CLOSING_BRACKET |
static String |
FORCE_LOAD_COOKIE
Cookie used to ignore browser checks.
|
MAX_BUFFER_SIZE| Constructor and Description |
|---|
UnsupportedBrowserHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
synchronizedHandleRequest(VaadinSession session,
VaadinRequest request,
VaadinResponse response)
Identical to
SynchronizedRequestHandler.handleRequest(VaadinSession, VaadinRequest, VaadinResponse)
except the VaadinSession is locked before this is called and
unlocked after this has completed. |
protected void |
writeBrowserTooOldPage(VaadinRequest request,
VaadinResponse response)
Writes a page encouraging the user to upgrade to a more current browser.
|
canHandleRequest, getRequestBody, handleRequest, isReadAndWriteOutsideSessionLock, synchronizedHandleRequestpublic static final String FORCE_LOAD_COOKIE
public static final String CLOSING_BRACKET
public boolean synchronizedHandleRequest(VaadinSession session, VaadinRequest request, VaadinResponse response) throws IOException
SynchronizedRequestHandlerSynchronizedRequestHandler.handleRequest(VaadinSession, VaadinRequest, VaadinResponse)
except the VaadinSession is locked before this is called and
unlocked after this has completed.synchronizedHandleRequest in class SynchronizedRequestHandlersession - The session for the requestrequest - The request to handleresponse - The response object to which a response can be written.IOException - If an IO error occurredSynchronizedRequestHandler.handleRequest(VaadinSession, VaadinRequest, VaadinResponse)protected void writeBrowserTooOldPage(VaadinRequest request, VaadinResponse response) throws IOException
request - The request to handleresponse - The response object to which a response can be written.IOException - if an IO error occurredCopyright © 2025. All rights reserved.