Package com.webobjects.appserver

Examples of com.webobjects.appserver.WORequestHandler


    // overridden dispatch of requests, for faster lifebeat checking
    // if it's a lifebeat, we return a null response, and that should close the socket immediately
    @Override
    public WOResponse dispatchRequest(WORequest aRequest) {
        WORequestHandler aHandler = handlerForRequest(aRequest);
        if ( (aHandler != null) && (aHandler == _lifebeatRequestHandler) ) {
            _TheLastApplicationAccessTime = System.currentTimeMillis();
            return aHandler.handleRequest(aRequest);
        }
        return super.dispatchRequest(aRequest);
    }
View Full Code Here

TOP

Related Classes of com.webobjects.appserver.WORequestHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.