|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.dctl.j2me.io.BaseConnection
|
+--com.dctl.j2me.io.httpserver.Connection
Implement an http server class that can be used to handle web requests
| Field Summary |
| Fields inherited from class com.dctl.j2me.io.BaseConnection |
protocol |
| Constructor Summary | |
Connection()
Default constructor |
|
| Method Summary | |
StreamConnection |
acceptAndOpen()
Wait for a connection to come in |
void |
close()
Close the connection |
void |
setParameters(java.lang.String url,
int mode,
boolean timeouts)
Open the connection by listening on the specified port, or port 80 by default |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Connection()
| Method Detail |
public void setParameters(java.lang.String url,
int mode,
boolean timeouts)
throws IOException
setParameters in class BaseConnectionurl - The URL passed to connector.openmode - The mode passed to connector.open or DEFAULTtimeouts - true if timeout exceptions should occur
IOException - if there is a problem
public void close()
throws IOException
close in interface ConnectionIOException - if there is a problem
public StreamConnection acceptAndOpen()
throws IOException
acceptAndOpen in interface StreamConnectionNotifierIOException - if there is an error
|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||