com.eclipsesource.restfuse
Class Assert
java.lang.Object
com.eclipsesource.restfuse.Assert
public final class Assert
- extends java.lang.Object
The Assert
class provides a set of convenience methods that ease the
testing of an http response.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
assertAccepted
public static void assertAccepted(Response response)
assertBadGateway
public static void assertBadGateway(Response response)
assertBadRequest
public static void assertBadRequest(Response response)
assertConflict
public static void assertConflict(Response response)
assertContinue
public static void assertContinue(Response response)
assertCreated
public static void assertCreated(Response response)
assertExpectationFailed
public static void assertExpectationFailed(Response response)
assertForbidden
public static void assertForbidden(Response response)
assertFound
public static void assertFound(Response response)
assertGatewayTimeout
public static void assertGatewayTimeout(Response response)
assertGone
public static void assertGone(Response response)
assertHTTPVersionNotSupported
public static void assertHTTPVersionNotSupported(Response response)
assertInternalServerError
public static void assertInternalServerError(Response response)
assertLengthRequired
public static void assertLengthRequired(Response response)
assertMethodNotAllowed
public static void assertMethodNotAllowed(Response response)
assertMovedPermanently
public static void assertMovedPermanently(Response response)
assertMultipleChoices
public static void assertMultipleChoices(Response response)
assertNoContent
public static void assertNoContent(Response response)
assertNonAuthoritativeInformation
public static void assertNonAuthoritativeInformation(Response response)
assertNotAcceptable
public static void assertNotAcceptable(Response response)
assertNotFound
public static void assertNotFound(Response response)
assertNotImplemented
public static void assertNotImplemented(Response response)
assertNotModified
public static void assertNotModified(Response response)
assertOk
public static void assertOk(Response response)
assertPartialContent
public static void assertPartialContent(Response response)
assertPaymentRequired
public static void assertPaymentRequired(Response response)
assertPreconditionFailed
public static void assertPreconditionFailed(Response response)
assertProxyAuthenticationRequired
public static void assertProxyAuthenticationRequired(Response response)
assertRequestedRangeNotSatisfiable
public static void assertRequestedRangeNotSatisfiable(Response response)
assertRequestEntityTooLarge
public static void assertRequestEntityTooLarge(Response response)
assertRequestTimeout
public static void assertRequestTimeout(Response response)
assertRequestURITooLong
public static void assertRequestURITooLong(Response response)
assertResetContent
public static void assertResetContent(Response response)
assertSeeOther
public static void assertSeeOther(Response response)
assertServiceUnavailable
public static void assertServiceUnavailable(Response response)
assertSwitchingProtocols
public static void assertSwitchingProtocols(Response response)
assertTemporaryRedirected
public static void assertTemporaryRedirected(Response response)
assertUnauthorized
public static void assertUnauthorized(Response response)
assertUnsupportedMediaType
public static void assertUnsupportedMediaType(Response response)
assertUseProxy
public static void assertUseProxy(Response response)