Package com.groupon.odo.plugin

Examples of com.groupon.odo.plugin.HttpRequestInfo


        }

        if (!alreadyServed) {
            History history = new History();
            logOriginalRequestHistory("GET", request, history);
            requestInfo.originalRequestInfo = new HttpRequestInfo(request);
            try {
                GetMethod getMethodProxyRequest = new GetMethod(getProxyURL(
                        request, history, Constants.REQUEST_TYPE_GET));
                // set headers
                setProxyRequestHeaders(request, getMethodProxyRequest);
View Full Code Here


                HttpUtilities.handleStandardPost(postMethodProxyRequest, request, history);
            }

            // use body filter to filter paths
            this.cullPathsByBodyFilter(history);
            requestInfo.originalRequestInfo = new HttpRequestInfo(request, history.getOriginalRequestPostData());
            // Execute the proxy request
            this.executeProxyRequest(postMethodProxyRequest, request, response,
                    history);
        } catch (Exception e) {
            // TODO log to history
View Full Code Here

                HttpUtilities.handleStandardPost(putMethodProxyRequest, request, history);
            }

            // use body filter to filter paths
            this.cullPathsByBodyFilter(history);
            requestInfo.originalRequestInfo = new HttpRequestInfo(request, history.getOriginalRequestPostData());

            // Execute the proxy request
            this.executeProxyRequest(putMethodProxyRequest, request, response,
                    history);
        } catch (Exception e) {
View Full Code Here

        requestInformation.set(new RequestInformation());
        RequestInformation requestInfo = requestInformation.get();

        History history = new History();
        logOriginalRequestHistory("DELETE", request, history);
        requestInfo.originalRequestInfo = new HttpRequestInfo(request);

        try {
            DeleteMethod getMethodProxyRequest = new DeleteMethod(getProxyURL(
                    request, history, Constants.REQUEST_TYPE_DELETE));
            // set headers
View Full Code Here

TOP

Related Classes of com.groupon.odo.plugin.HttpRequestInfo

Copyright © 2015 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.