|
NextApp Echo3 v3.0.rc1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Service
An interface for objects that process Connections, parsing an
HTTP request and producing an HTTP response.
Every service is identified by a unique identifier. When the client
browser makes a request of the server and provides the identifier of this
service, its service() method will be invoked. Every request
to an Echo application from a client browser will invoke a service.
| Field Summary | |
|---|---|
static int |
DO_NOT_CACHE
A value returned by getVersion() to indicate that a
service should not be cached. |
| Method Summary | |
|---|---|
java.lang.String |
getId()
Returns the unique identifier of this service. |
int |
getVersion()
Returns the version of the service to be retrieved. |
void |
service(Connection conn)
Services an HTTP request. |
| Field Detail |
|---|
static final int DO_NOT_CACHE
getVersion() to indicate that a
service should not be cached.
| Method Detail |
|---|
java.lang.String getId()
int getVersion()
getVersion() should return distinct values whenever the
service's content may have changed.
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 Echo3 v3.0.rc1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||