|
NextApp Echo App Container 1.1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for objects that process Connection
s, parsing an
HTTP request and producing an HTTP response.
Every service is identified by a unique Id
. When the client
browser makes a request of the server and provides the Service Id of this
service, its service()
method will be invoked. Every request
to an Echo application from a client browser will invoke a service.
Services must be registered with the ServiceRegistry
before
they can be used.
Method Summary | |
Id |
getId()
Returns a unique identifier for this service. |
void |
service(Connection conn)
Services an HTTP request. |
Method Detail |
public Id getId()
public void service(Connection conn) throws java.io.IOException
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.
|
NextApp Echo App Container 1.1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |