Package org.apache.http.client.methods

Examples of org.apache.http.client.methods.HttpTrace


    public static Request Trace(final URI uri) {
        return new Request(new HttpTrace(uri));
    }

    public static Request Trace(final String uri) {
        return new Request(new HttpTrace(uri));
    }
View Full Code Here


      }
      else if (method.equalsIgnoreCase(Method.OPTIONS.getName())) {
        this.httpMethod = new HttpOptions(requestUri);
      }
      else if (method.equalsIgnoreCase(Method.TRACE.getName())) {
        this.httpMethod = new HttpTrace(requestUri);
      }
      else {
        // custom HTTP verbs unsupported (and is unused by legacy ITs)
        throw new UnsupportedOperationException("Not implemented");
      }
View Full Code Here

            eem=put;
           
        }
        else if(this.method==METHOD_TRACE) {
          isBinary=true;
            req=new HttpTrace(url);
        }
        else if(this.method==METHOD_OPTIONS) {
          isBinary=true;
            req=new HttpOptions(url);
        }
View Full Code Here

        } else if (strMethod.equals(HttpOptions.METHOD_NAME)) {
            request = new HttpOptions(uri);
        } else if (strMethod.equals(HttpPatch.METHOD_NAME)) {
            request = new HttpPatch(uri);
        } else if (strMethod.equals(HttpTrace.METHOD_NAME)) {
            request = new HttpTrace(uri);
        } else {
            request = new HttpEntityEnclosingRequestBase() {
                @Override
                public String getMethod() {
                    return strMethod;
View Full Code Here

    } else if(method.equals("POST")) {
      return new HttpPost(uri);
    } else if(method.equals("DELETE")) {
      return new HttpDelete(uri);
    } else if(method.equals("TRACE")) {
      return new HttpTrace(uri);
    } else if(method.equals("OPTIONS")) {
      return new HttpOptions(uri);
    } else if(method.equals("HEAD")) {
      return new HttpHead(uri);
    }
View Full Code Here

            } else if (method.equals(PUT)) {
                httpRequest = new HttpPut(uri);
            } else if (method.equals(HEAD)) {
                httpRequest = new HttpHead(uri);
            } else if (method.equals(TRACE)) {
                httpRequest = new HttpTrace(uri);
            } else if (method.equals(OPTIONS)) {
                httpRequest = new HttpOptions(uri);
            } else if (method.equals(DELETE)) {
                httpRequest = new HttpDelete(uri);
            } else if (method.equals(GET)) {
View Full Code Here

    public static HttpAsyncRequestProducer createOptions(final String requestURI) {
        return create(new HttpOptions(URI.create(requestURI)));
    }

    public static HttpAsyncRequestProducer createTrace(final URI requestURI) {
        return create(new HttpTrace(requestURI));
    }
View Full Code Here

    public static HttpAsyncRequestProducer createTrace(final URI requestURI) {
        return create(new HttpTrace(requestURI));
    }

    public static HttpAsyncRequestProducer createTrace(final String requestURI) {
        return create(new HttpTrace(URI.create(requestURI)));
    }
View Full Code Here

    public static Request Put(final String uri) {
        return new Request(new HttpPut(uri));
    }

    public static Request Trace(final URI uri) {
        return new Request(new HttpTrace(uri));
    }
View Full Code Here

    public static Request Trace(final URI uri) {
        return new Request(new HttpTrace(uri));
    }

    public static Request Trace(final String uri) {
        return new Request(new HttpTrace(uri));
    }
View Full Code Here

TOP

Related Classes of org.apache.http.client.methods.HttpTrace

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.