RequestInfo rp = request.getRequestProcessor();
if ( rp.getStage() != org.apache.coyote.Constants.STAGE_SERVICE ) { //async handling
dispatch.set(true);
- endpoint.processSocket(this.socket, SocketStatus.OPEN);
+ endpoint.processSocketAsync(this.socket, SocketStatus.OPEN);
} else {
dispatch.set(false);
}
RequestInfo rp = request.getRequestProcessor();
AtomicBoolean dispatch = (AtomicBoolean)param;
if ( rp.getStage() != org.apache.coyote.Constants.STAGE_SERVICE ) {//async handling
- endpoint.processSocket(this.socket, SocketStatus.OPEN);
+ endpoint.processSocketAsync(this.socket, SocketStatus.OPEN);
dispatch.set(true);
} else {
dispatch.set(true);
RequestInfo rp = request.getRequestProcessor();
if ( rp.getStage() != org.apache.coyote.Constants.STAGE_SERVICE ) { //async handling
dispatch.set(true);
- endpoint.processSocket(this.socket, SocketStatus.OPEN);
+ endpoint.processSocketAsync(this.socket, SocketStatus.OPEN);
} else {
dispatch.set(false);
}
RequestInfo rp = request.getRequestProcessor();
AtomicBoolean dispatch = (AtomicBoolean)param;
if ( rp.getStage() != org.apache.coyote.Constants.STAGE_SERVICE ) {//async handling
- endpoint.processSocket(this.socket, SocketStatus.OPEN);
+ endpoint.processSocketAsync(this.socket, SocketStatus.OPEN);
dispatch.set(true);
} else {
dispatch.set(true);
SocketWrapper<Socket> socket = sockets.next();
long access = socket.getLastAccess();
if ((now-access)>socket.getTimeout()) {
- processSocket(socket,SocketStatus.TIMEOUT);
+ processSocketAsync(socket,SocketStatus.TIMEOUT);
}
}
* Returning <code>false</code> is an indication to close
* the socket immediately.
*/
- public boolean processSocket(SocketWrapper<Socket> socket, SocketStatus status) {
+ public boolean processSocketAsync(SocketWrapper<Socket> socket,
+ SocketStatus status) {
try {
if (waitingRequests.remove(socket)) {
SocketProcessor proc = new SocketProcessor(socket,status);