|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.server.SynchronizedRequestHandler
com.vaadin.server.BootstrapHandler
@Deprecated public abstract class BootstrapHandler
| Nested Class Summary | |
|---|---|
protected class |
BootstrapHandler.BootstrapContext
Deprecated. |
| Field Summary | |
|---|---|
static java.lang.String |
IGNORE_RESTART_PARAM
Deprecated. Parameter that is added to the UI init request if the session has already been restarted when generating the bootstrap HTML and ?restartApplication should thus be ignored when handling the UI init request. |
| Constructor Summary | |
|---|---|
BootstrapHandler()
Deprecated. |
|
| Method Summary | |
|---|---|
protected void |
appendMainScriptTagContents(BootstrapHandler.BootstrapContext context,
java.lang.StringBuilder builder)
Deprecated. |
protected boolean |
canHandleRequest(VaadinRequest request)
Deprecated. Check whether a request may be handled by this handler. |
java.lang.String |
findAndEscapeThemeName(BootstrapHandler.BootstrapContext context)
Deprecated. Don not override. |
protected org.json.JSONObject |
getApplicationParameters(BootstrapHandler.BootstrapContext context)
Deprecated. |
protected java.lang.String |
getMainDivStyle(BootstrapHandler.BootstrapContext context)
Deprecated. |
protected abstract java.lang.String |
getServiceUrl(BootstrapHandler.BootstrapContext context)
Deprecated. |
java.lang.String |
getThemeName(BootstrapHandler.BootstrapContext context)
Deprecated. Override if required |
java.lang.String |
getThemeUri(BootstrapHandler.BootstrapContext context,
java.lang.String themeName)
Deprecated. Get the URI for the application theme. |
java.lang.String |
getWidgetsetForUI(BootstrapHandler.BootstrapContext context)
Deprecated. |
boolean |
synchronizedHandleRequest(VaadinSession session,
VaadinRequest request,
VaadinResponse response)
Deprecated. Identical to SynchronizedRequestHandler.handleRequest(VaadinSession, VaadinRequest, VaadinResponse)
except the VaadinSession is locked before this is called and
unlocked after this has completed. |
protected void |
writeError(VaadinResponse response,
java.lang.Throwable e)
Deprecated. |
| Methods inherited from class com.vaadin.server.SynchronizedRequestHandler |
|---|
handleRequest |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String IGNORE_RESTART_PARAM
| Constructor Detail |
|---|
public BootstrapHandler()
| Method Detail |
|---|
protected boolean canHandleRequest(VaadinRequest request)
SynchronizedRequestHandlertrue which means that all requests will be handled by
calling
SynchronizedRequestHandler.synchronizedHandleRequest(VaadinSession, VaadinRequest, VaadinResponse)
with the session locked.
canHandleRequest in class SynchronizedRequestHandlerrequest - the request to handle
true if the request handling should continue once
the session has been locked; false if there's no
need to lock the session since the request would still not be
handled.
public boolean synchronizedHandleRequest(VaadinSession session,
VaadinRequest request,
VaadinResponse response)
throws java.io.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.
java.io.IOException - If an IO error occurredSynchronizedRequestHandler.handleRequest(VaadinSession, VaadinRequest, VaadinResponse)protected java.lang.String getMainDivStyle(BootstrapHandler.BootstrapContext context)
public java.lang.String getWidgetsetForUI(BootstrapHandler.BootstrapContext context)
protected void appendMainScriptTagContents(BootstrapHandler.BootstrapContext context,
java.lang.StringBuilder builder)
throws org.json.JSONException,
java.io.IOException
org.json.JSONException
java.io.IOException
protected org.json.JSONObject getApplicationParameters(BootstrapHandler.BootstrapContext context)
throws org.json.JSONException,
PaintException
org.json.JSONException
PaintExceptionprotected abstract java.lang.String getServiceUrl(BootstrapHandler.BootstrapContext context)
public java.lang.String getThemeUri(BootstrapHandler.BootstrapContext context,
java.lang.String themeName)
context - themeName -
public java.lang.String getThemeName(BootstrapHandler.BootstrapContext context)
context -
public java.lang.String findAndEscapeThemeName(BootstrapHandler.BootstrapContext context)
context -
protected void writeError(VaadinResponse response,
java.lang.Throwable e)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||