Examples of RubyHttpRequest


Examples of net.sf.jruby.rails.asyncweb.ruby.RubyHttpRequest

    public void handleRequest(HttpRequest request) {
        try {
            HttpResponse response = request.createHttpResponse();

            IRubyObject rubyReq = new RubyHttpRequest(ruby, requestMetaClass, request);
            IRubyObject rubyRes = new RubyHttpResponse(ruby, responseMetaClass, response);

            if (LOGGER.isDebugEnabled()) {
                long start = System.nanoTime();
                asyncwebDispatcher.callMethod("dispatch", new IRubyObject[] { rubyReq, rubyRes });
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.