Package com.github.restdriver.serverdriver.matchers

Examples of com.github.restdriver.serverdriver.matchers.HasHeaderWithValue


     * @param name The name of the header to check for the presence of
     * @param value The the header value to check
     * @return The new matcher
     */
    public static TypeSafeMatcher<Response> hasHeader(String name, String value) {
        return new HasHeaderWithValue(name, equalTo(value));
    }
View Full Code Here


     * @param name The name of the header to check for the presence and value of
     * @param valueMatcher The matcher against which the header value will be evaluated
     * @return The new matcher
     */
    public static TypeSafeMatcher<Response> hasHeader(String name, Matcher<String> valueMatcher) {
        return new HasHeaderWithValue(name, valueMatcher);
    }
View Full Code Here

     * @param name The name of the header to check for the presence and value of
     * @param valueMatcher The matcher against which the header value will be evaluated
     * @return The new matcher
     */
    public static TypeSafeMatcher<Response> hasHeaderWithValue(String name, Matcher<String> valueMatcher) {
        return new HasHeaderWithValue(name, valueMatcher);
    }
View Full Code Here

TOP

Related Classes of com.github.restdriver.serverdriver.matchers.HasHeaderWithValue

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.