|
Unite API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--WebServerConnection
Connection made to the Web server.
WebServerConnection holds the incoming request and gives the user access to the outgoing response, as well maintaining the state of the connection.
| Field Summary | |
boolean |
closed
Whether or not this connection has been closed. |
int |
id
The id of this connection. |
boolean |
isLocal
Whether or not this connection is made directly through the Opera instance. |
boolean |
isOwner
Whether this connection is made from a page with a URL on the admin subdomain in the same instance running the service. |
boolean |
isProxied
Whether or not this connection is made through the proxy. |
WebServerRequest |
request
The incoming HTTP request on this connection. |
WebServerResponse |
response
The outgoing HTTP response that will be send to the client. |
| Constructor Summary | |
WebServerConnection()
This class has no public constructor. |
|
| Field Detail |
boolean closed
int id
boolean isLocal
boolean isOwner
You can use this property to determine if the connection is coming from the owner (typically yourself) of the service and therefore whether to, for example, grant it special privileges. This is the case when the request is the result of accessing a URL with the admin subdomain.
boolean isProxied
This property will be false if you access the services through a local URL.
WebServerRequest request
WebServerResponse response
| Constructor Detail |
WebServerConnection()
|
Unite API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||