Example usage for io.vertx.core.http HttpMethod TRACE

List of usage examples for io.vertx.core.http HttpMethod TRACE

Introduction

In this page you can find the example usage for io.vertx.core.http HttpMethod TRACE.

Prototype

HttpMethod TRACE

To view the source code for io.vertx.core.http HttpMethod TRACE.

Click Source Link

Usage

From source file:io.gravitee.gateway.http.vertx.VertxHttpClient.java

License:Apache License

private HttpMethod convert(io.gravitee.common.http.HttpMethod httpMethod) {
    switch (httpMethod) {
    case CONNECT:
        return HttpMethod.CONNECT;
    case DELETE:/* w w w .j  a  va2 s.  com*/
        return HttpMethod.DELETE;
    case GET:
        return HttpMethod.GET;
    case HEAD:
        return HttpMethod.HEAD;
    case OPTIONS:
        return HttpMethod.OPTIONS;
    case PATCH:
        return HttpMethod.PATCH;
    case POST:
        return HttpMethod.POST;
    case PUT:
        return HttpMethod.PUT;
    case TRACE:
        return HttpMethod.TRACE;
    }

    return null;
}