com.github.mjeanroy.restassert.assertj.internal.HttpResponses Maven / Gradle / Ivy
/**
* The MIT License (MIT)
*
* Copyright (c) 2014-2018 Mickael Jeanroy
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.github.mjeanroy.restassert.assertj.internal;
import org.assertj.core.api.AssertionInfo;
/**
* Reusable assertions of http response.
* This class is implemented as a singleton.
* This class is thread safe.
* This class is automatically generated during build.
*/
public class HttpResponses extends AbstractRestAssertions {
/**
* Singleton instance.
*/
private static final HttpResponses INSTANCE = new HttpResponses();
/**
* Returns the singleton instance of this class.
*/
public static HttpResponses instance() {
return INSTANCE;
}
/**
* Original assertions object, retrieved from core module.
*/
private final com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions assertions = com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions.instance();
// Private constructor to ensure class is a singleton
private HttpResponses() {
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlAllowCredentials
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertDoesNotHaveAccessControlAllowCredentials(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.doesNotHaveAccessControlAllowCredentials(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlAllowHeaders
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertDoesNotHaveAccessControlAllowHeaders(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.doesNotHaveAccessControlAllowHeaders(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlAllowMaxAge
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertDoesNotHaveAccessControlAllowMaxAge(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.doesNotHaveAccessControlAllowMaxAge(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlAllowMethods
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertDoesNotHaveAccessControlAllowMethods(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.doesNotHaveAccessControlAllowMethods(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlAllowOrigin
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertDoesNotHaveAccessControlAllowOrigin(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.doesNotHaveAccessControlAllowOrigin(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveAccessControlExposeHeaders
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertDoesNotHaveAccessControlExposeHeaders(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.doesNotHaveAccessControlExposeHeaders(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveCacheControl
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertDoesNotHaveCacheControl(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.doesNotHaveCacheControl(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveContentDisposition
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertDoesNotHaveContentDisposition(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.doesNotHaveContentDisposition(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveContentEncoding
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertDoesNotHaveContentEncoding(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.doesNotHaveContentEncoding(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveContentSecurityPolicy
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertDoesNotHaveContentSecurityPolicy(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.doesNotHaveContentSecurityPolicy(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveContentTypeOptions
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertDoesNotHaveContentTypeOptions(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.doesNotHaveContentTypeOptions(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveCookie
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertDoesNotHaveCookie(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String name) {
assertNotNull(info, actual);
check(info, assertions.doesNotHaveCookie(actual, name));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveCookie
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertDoesNotHaveCookie(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.doesNotHaveCookie(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveETag
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertDoesNotHaveETag(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.doesNotHaveETag(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveExpires
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertDoesNotHaveExpires(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.doesNotHaveExpires(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveFrameOptions
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertDoesNotHaveFrameOptions(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.doesNotHaveFrameOptions(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveHeader
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertDoesNotHaveHeader(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String headerName) {
assertNotNull(info, actual);
check(info, assertions.doesNotHaveHeader(actual, headerName));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveLastModified
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertDoesNotHaveLastModified(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.doesNotHaveLastModified(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveLocation
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertDoesNotHaveLocation(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.doesNotHaveLocation(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHavePragma
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertDoesNotHavePragma(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.doesNotHavePragma(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveStrictTransportSecurity
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertDoesNotHaveStrictTransportSecurity(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.doesNotHaveStrictTransportSecurity(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#doesNotHaveXssProtection
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertDoesNotHaveXssProtection(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.doesNotHaveXssProtection(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlAllowCredentials
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasAccessControlAllowCredentials(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.hasAccessControlAllowCredentials(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlAllowHeaders
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasAccessControlAllowHeaders(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.hasAccessControlAllowHeaders(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlAllowMaxAge
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasAccessControlAllowMaxAge(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.hasAccessControlAllowMaxAge(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlAllowMethods
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasAccessControlAllowMethods(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.hasAccessControlAllowMethods(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlAllowOrigin
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasAccessControlAllowOrigin(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.hasAccessControlAllowOrigin(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasAccessControlExposeHeaders
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasAccessControlExposeHeaders(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.hasAccessControlExposeHeaders(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCacheControl
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasCacheControl(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.hasCacheControl(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCharset
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasCharset(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String expectedCharset) {
assertNotNull(info, actual);
check(info, assertions.hasCharset(actual, expectedCharset));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCharset
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasCharset(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.nio.charset.Charset expectedCharset) {
assertNotNull(info, actual);
check(info, assertions.hasCharset(actual, expectedCharset));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentDisposition
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasContentDisposition(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.hasContentDisposition(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentEncoding
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasContentEncoding(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.hasContentEncoding(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentLength
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasContentLength(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.hasContentLength(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentSecurityPolicy
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasContentSecurityPolicy(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.hasContentSecurityPolicy(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentType
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasContentType(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.hasContentType(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasContentTypeOptions
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasContentTypeOptions(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.hasContentTypeOptions(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCookie
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasCookie(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String name) {
assertNotNull(info, actual);
check(info, assertions.hasCookie(actual, name));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCookie
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasCookie(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String name, java.lang.String value) {
assertNotNull(info, actual);
check(info, assertions.hasCookie(actual, name, value));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasCookie
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasCookie(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, com.github.mjeanroy.restassert.core.internal.data.Cookie cookie) {
assertNotNull(info, actual);
check(info, assertions.hasCookie(actual, cookie));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasETag
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasETag(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.hasETag(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasExpires
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasExpires(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.hasExpires(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasFrameOptions
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasFrameOptions(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.hasFrameOptions(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasHeader
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasHeader(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String headerName) {
assertNotNull(info, actual);
check(info, assertions.hasHeader(actual, headerName));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasLastModified
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasLastModified(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.hasLastModified(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasLocation
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasLocation(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.hasLocation(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasMimeType
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasMimeType(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, com.github.mjeanroy.restassert.core.data.MediaType expectedMimeType) {
assertNotNull(info, actual);
check(info, assertions.hasMimeType(actual, expectedMimeType));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasMimeType
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasMimeType(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String expectedMimeType) {
assertNotNull(info, actual);
check(info, assertions.hasMimeType(actual, expectedMimeType));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasPragma
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasPragma(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.hasPragma(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasStrictTransportSecurity
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasStrictTransportSecurity(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.hasStrictTransportSecurity(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#hasXssProtection
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertHasXssProtection(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.hasXssProtection(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccepted
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsAccepted(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isAccepted(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowCredentialsEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsAccessControlAllowCredentialsEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, boolean flag) {
assertNotNull(info, actual);
check(info, assertions.isAccessControlAllowCredentialsEqualTo(actual, flag));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowHeadersEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsAccessControlAllowHeadersEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.Iterable accessControlAllowHeaders) {
assertNotNull(info, actual);
check(info, assertions.isAccessControlAllowHeadersEqualTo(actual, accessControlAllowHeaders));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowHeadersEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsAccessControlAllowHeadersEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String value, java.lang.String... other) {
assertNotNull(info, actual);
check(info, assertions.isAccessControlAllowHeadersEqualTo(actual, value, other));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowMaxAgeEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsAccessControlAllowMaxAgeEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, long maxAge) {
assertNotNull(info, actual);
check(info, assertions.isAccessControlAllowMaxAgeEqualTo(actual, maxAge));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowMethodsEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsAccessControlAllowMethodsEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.Iterable methods) {
assertNotNull(info, actual);
check(info, assertions.isAccessControlAllowMethodsEqualTo(actual, methods));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowMethodsEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsAccessControlAllowMethodsEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, com.github.mjeanroy.restassert.core.data.RequestMethod method, com.github.mjeanroy.restassert.core.data.RequestMethod... other) {
assertNotNull(info, actual);
check(info, assertions.isAccessControlAllowMethodsEqualTo(actual, method, other));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlAllowOriginEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsAccessControlAllowOriginEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String accessControlAllowOrigin) {
assertNotNull(info, actual);
check(info, assertions.isAccessControlAllowOriginEqualTo(actual, accessControlAllowOrigin));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlExposeHeadersEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsAccessControlExposeHeadersEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String value, java.lang.String... other) {
assertNotNull(info, actual);
check(info, assertions.isAccessControlExposeHeadersEqualTo(actual, value, other));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isAccessControlExposeHeadersEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsAccessControlExposeHeadersEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.Iterable accessControlExposeHeaders) {
assertNotNull(info, actual);
check(info, assertions.isAccessControlExposeHeadersEqualTo(actual, accessControlExposeHeaders));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isBadRequest
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsBadRequest(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isBadRequest(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isCacheControlEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsCacheControlEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, com.github.mjeanroy.restassert.core.data.CacheControl cacheControl) {
assertNotNull(info, actual);
check(info, assertions.isCacheControlEqualTo(actual, cacheControl));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isCacheControlEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsCacheControlEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String cacheControl) {
assertNotNull(info, actual);
check(info, assertions.isCacheControlEqualTo(actual, cacheControl));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isClientError
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsClientError(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isClientError(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isConflict
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsConflict(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isConflict(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentDispositionEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsContentDispositionEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String contentDispositionValue) {
assertNotNull(info, actual);
check(info, assertions.isContentDispositionEqualTo(actual, contentDispositionValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentEncodingEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsContentEncodingEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, com.github.mjeanroy.restassert.core.data.ContentEncoding contentEncoding) {
assertNotNull(info, actual);
check(info, assertions.isContentEncodingEqualTo(actual, contentEncoding));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentEncodingEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsContentEncodingEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String contentEncodingValue) {
assertNotNull(info, actual);
check(info, assertions.isContentEncodingEqualTo(actual, contentEncodingValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentSecurityPolicyEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsContentSecurityPolicyEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, com.github.mjeanroy.restassert.core.data.ContentSecurityPolicy contentSecurityPolicy) {
assertNotNull(info, actual);
check(info, assertions.isContentSecurityPolicyEqualTo(actual, contentSecurityPolicy));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentSecurityPolicyEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsContentSecurityPolicyEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String contentSecurityPolicy) {
assertNotNull(info, actual);
check(info, assertions.isContentSecurityPolicyEqualTo(actual, contentSecurityPolicy));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentTypeEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsContentTypeEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, com.github.mjeanroy.restassert.core.data.ContentType contentTypeValue) {
assertNotNull(info, actual);
check(info, assertions.isContentTypeEqualTo(actual, contentTypeValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentTypeEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsContentTypeEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String contentTypeValue) {
assertNotNull(info, actual);
check(info, assertions.isContentTypeEqualTo(actual, contentTypeValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentTypeOptionsEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsContentTypeOptionsEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String contentTypeOptions) {
assertNotNull(info, actual);
check(info, assertions.isContentTypeOptionsEqualTo(actual, contentTypeOptions));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isContentTypeOptionsEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsContentTypeOptionsEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, com.github.mjeanroy.restassert.core.data.ContentTypeOptions contentTypeOptions) {
assertNotNull(info, actual);
check(info, assertions.isContentTypeOptionsEqualTo(actual, contentTypeOptions));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isCreated
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsCreated(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isCreated(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isCss
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsCss(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isCss(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isCsv
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsCsv(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isCsv(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isETagEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsETagEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String etagValue) {
assertNotNull(info, actual);
check(info, assertions.isETagEqualTo(actual, etagValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isExpiresEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsExpiresEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String expiresValue) {
assertNotNull(info, actual);
check(info, assertions.isExpiresEqualTo(actual, expiresValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isExpiresEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsExpiresEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.util.Date expiresValue) {
assertNotNull(info, actual);
check(info, assertions.isExpiresEqualTo(actual, expiresValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isForbidden
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsForbidden(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isForbidden(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isFrameOptionsEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsFrameOptionsEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, com.github.mjeanroy.restassert.core.data.FrameOptions frameOptions) {
assertNotNull(info, actual);
check(info, assertions.isFrameOptionsEqualTo(actual, frameOptions));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isFrameOptionsEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsFrameOptionsEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String frameOptions) {
assertNotNull(info, actual);
check(info, assertions.isFrameOptionsEqualTo(actual, frameOptions));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isGzipped
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsGzipped(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isGzipped(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isHeaderEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsHeaderEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String headerName, java.lang.String headerValue) {
assertNotNull(info, actual);
check(info, assertions.isHeaderEqualTo(actual, headerName, headerValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isHtml
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsHtml(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isHtml(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isInternalServerError
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsInternalServerError(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isInternalServerError(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isJavascript
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsJavascript(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isJavascript(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isJson
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsJson(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isJson(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isLastModifiedEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsLastModifiedEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.util.Date lastModifiedDate) {
assertNotNull(info, actual);
check(info, assertions.isLastModifiedEqualTo(actual, lastModifiedDate));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isLastModifiedEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsLastModifiedEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String lastModifiedValue) {
assertNotNull(info, actual);
check(info, assertions.isLastModifiedEqualTo(actual, lastModifiedValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isLocationEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsLocationEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String locationValue) {
assertNotNull(info, actual);
check(info, assertions.isLocationEqualTo(actual, locationValue));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isMethodNotAllowed
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsMethodNotAllowed(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isMethodNotAllowed(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isMovedPermanently
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsMovedPermanently(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isMovedPermanently(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isMovedTemporarily
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsMovedTemporarily(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isMovedTemporarily(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNoContent
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsNoContent(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isNoContent(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotAcceptable
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsNotAcceptable(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isNotAcceptable(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotClientError
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsNotClientError(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isNotClientError(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotFound
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsNotFound(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isNotFound(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotImplemented
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsNotImplemented(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isNotImplemented(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotModified
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsNotModified(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isNotModified(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotRedirection
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsNotRedirection(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isNotRedirection(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotServerError
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsNotServerError(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isNotServerError(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isNotSuccess
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsNotSuccess(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isNotSuccess(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isOk
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsOk(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isOk(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isPartialContent
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsPartialContent(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isPartialContent(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isPdf
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsPdf(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isPdf(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isPragmaEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsPragmaEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String pragma) {
assertNotNull(info, actual);
check(info, assertions.isPragmaEqualTo(actual, pragma));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isPreConditionFailed
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsPreConditionFailed(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isPreConditionFailed(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isRedirection
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsRedirection(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isRedirection(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isResetContent
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsResetContent(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isResetContent(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isServerError
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsServerError(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isServerError(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isStatusBetween
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsStatusBetween(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, int start, int end) {
assertNotNull(info, actual);
check(info, assertions.isStatusBetween(actual, start, end));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isStatusEqual
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsStatusEqual(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, int status) {
assertNotNull(info, actual);
check(info, assertions.isStatusEqual(actual, status));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isStatusOutOf
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsStatusOutOf(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, int start, int end) {
assertNotNull(info, actual);
check(info, assertions.isStatusOutOf(actual, start, end));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isStrictTransportSecurityEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsStrictTransportSecurityEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, com.github.mjeanroy.restassert.core.data.StrictTransportSecurity strictTransportSecurity) {
assertNotNull(info, actual);
check(info, assertions.isStrictTransportSecurityEqualTo(actual, strictTransportSecurity));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isStrictTransportSecurityEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsStrictTransportSecurityEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String strictTransportSecurity) {
assertNotNull(info, actual);
check(info, assertions.isStrictTransportSecurityEqualTo(actual, strictTransportSecurity));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isSuccess
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsSuccess(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isSuccess(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isText
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsText(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isText(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isUnauthorized
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsUnauthorized(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isUnauthorized(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isUnsupportedMediaType
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsUnsupportedMediaType(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isUnsupportedMediaType(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isUtf8
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsUtf8(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isUtf8(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isXml
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsXml(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual) {
assertNotNull(info, actual);
check(info, assertions.isXml(actual));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isXssProtectionEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsXssProtectionEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, java.lang.String xssProtection) {
assertNotNull(info, actual);
check(info, assertions.isXssProtectionEqualTo(actual, xssProtection));
}
/**
* @see com.github.mjeanroy.restassert.core.internal.assertions.HttpResponseAssertions#isXssProtectionEqualTo
*
* @param info contains information about the assertion.
* @param actual actual object.
* @throws AssertionError
*/
public void assertIsXssProtectionEqualTo(AssertionInfo info, com.github.mjeanroy.restassert.core.internal.data.HttpResponse actual, com.github.mjeanroy.restassert.core.data.XssProtection xssProtection) {
assertNotNull(info, actual);
check(info, assertions.isXssProtectionEqualTo(actual, xssProtection));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy