|
NextApp Echo App Container 1.0.5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echoservlet.Initializer
The service is responsible for initializing applications. This is
the first service that will be invoked when an application starts up. It
provides a client detection page that will use JavaScript to gather
information about public properties of the client browser, storing them in
a form. The form is submitted immediately thereafter, invoking this
service a second time. The form data will be parsed by a new
ClientProperties
object that is created
from this service. An InstancePeer and related objects are then created
for the application, stored in the user's session, and initialized.
The service() method of the application's default window is then invoked,
allowing the application to take control.
Field Summary | |
private static Id |
ID
The Id of this service |
static java.lang.String |
PARAMETER_DETECT_COMPLETE
The HTTP form parameter name used by the client detection script to indicate client detection information has been retrieved. |
private static Service |
SERVICE_CLIENT_DETECT
The client detection service. |
private static Service |
SERVICE_STARTUP_CONTAINER
The client detection service. |
Constructor Summary | |
(package private) |
Initializer()
Creates an Initializer service. |
Method Summary | |
static VariableData |
createInitialVariableData(Connection conn)
Creates one-time-use variable data used to start the application. |
Id |
getId()
Returns a unique identifier for this service. |
void |
service(Connection conn)
Services an HTTP request. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final Id ID
public static final java.lang.String PARAMETER_DETECT_COMPLETE
private static final Service SERVICE_CLIENT_DETECT
private static final Service SERVICE_STARTUP_CONTAINER
Constructor Detail |
Initializer()
Method Detail |
public static VariableData createInitialVariableData(Connection conn)
conn
- The connection for which the variable data will be used.
VariableData
object.public Id getId()
Service
getId
in interface Service
Service.getId()
public void service(Connection conn) throws java.io.IOException
Service
service
in interface Service
conn
- A Connection
object which wraps
HttpServletRequest
and
HttpServletResponse
objects and provides
access to the facilities of the Echo application container.
java.io.IOException
- in the event of errors related to processing the
HTTP request or producing a response.Service.service(Connection)
|
NextApp Echo App Container 1.0.5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |