|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.jeri.internal.http.HttpServerConnection
net.jini.jeri.http.HttpServerEndpoint.LH.Connection
private class HttpServerEndpoint.LH.Connection
HttpServerConnection subclass.
Field Summary | |
---|---|
private boolean |
connClosed
|
private Object |
connLock
|
private Socket |
socket
|
Constructor Summary | |
---|---|
HttpServerEndpoint.LH.Connection(Socket socket)
|
Method Summary | |
---|---|
protected void |
busy()
Upcall indicating that connection is about to become busy. |
protected InvocationConstraints |
checkConstraints(InvocationConstraints constraints)
Checks that the specified requirements are either fully or partially satisfied by the constraints actually in force for this connection, and returns any constraints that must be fully or partially implemented by higher layers in order to fully satisfy all of the specified requirements. |
protected void |
checkPermissions()
Verifies that calling context has sufficient security permissions to receive a request on this connection. |
protected void |
idle()
Upcall indicating that connection has become idle. |
protected void |
populateContext(Collection context)
Populates the context collection with information representing the connection. |
boolean |
shutdown(boolean force)
Attempts to shut down connection, returning true if connection is closed. |
Methods inherited from class com.sun.jini.jeri.internal.http.HttpServerConnection |
---|
start |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final Socket socket
private final Object connLock
private boolean connClosed
Constructor Detail |
---|
HttpServerEndpoint.LH.Connection(Socket socket) throws IOException
IOException
Method Detail |
---|
public boolean shutdown(boolean force)
HttpServerConnection
shutdown
in interface TimedConnection
shutdown
in class HttpServerConnection
protected void checkPermissions()
HttpServerConnection
checkPermissions
in class HttpServerConnection
protected InvocationConstraints checkConstraints(InvocationConstraints constraints) throws UnsupportedConstraintException
HttpServerConnection
checkConstraints
in class HttpServerConnection
UnsupportedConstraintException
protected void populateContext(Collection context)
populateContext
in class HttpServerConnection
protected void idle()
HttpServerConnection
idle
in class HttpServerConnection
protected void busy()
HttpServerConnection
busy
in class HttpServerConnection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |