All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mockserver.matchers.MatcherBuilder Maven / Gradle / Ivy

There is a newer version: 5.15.0
Show newest version
package org.mockserver.matchers;

import io.netty.handler.codec.http.QueryStringDecoder;
import org.mockserver.model.HttpRequest;

/**
 * @author jamesdbloom
 */
public class MatcherBuilder {

    public HttpRequestMatcher transformsToMatcher(HttpRequest httpRequest) {
        if (httpRequest != null) {
            return new HttpRequestMatcher(httpRequest);
        } else {
            return new HttpRequestMatcher(null);
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy