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

com.github.tomakehurst.wiremock.matching.ContentPattern Maven / Gradle / Ivy

There is a newer version: 3.0.1
Show newest version
package com.github.tomakehurst.wiremock.matching;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

@JsonDeserialize(using = ContentPatternDeserialiser.class)
public abstract class ContentPattern implements NamedValueMatcher {

    protected final T expectedValue;

    public ContentPattern(T expectedValue) {
        this.expectedValue = expectedValue;
    }

    @JsonIgnore
    public T getValue() {
        return expectedValue;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy