All Methods Static Methods Concrete Methods
Modifier and Type |
Method and Description |
static AuthenticationFailedRejection |
authenticationCredentialsMissing(HttpChallenge challenge) |
static AuthenticationFailedRejection |
authenticationCredentialsRejected(HttpChallenge challenge) |
static AuthorizationFailedRejection$ |
authorizationFailed() |
static ExpectedWebSocketRequestRejection$ |
expectedWebSocketRequest() |
static InvalidRequiredValueForQueryParamRejection |
invalidRequiredValueForQueryParam(java.lang.String parameterName,
java.lang.String requiredValue,
java.lang.String actualValue) |
static MalformedFormFieldRejection |
malformedFormField(java.lang.String fieldName,
java.lang.String errorMsg) |
static MalformedFormFieldRejection |
malformedFormField(java.lang.String fieldName,
java.lang.String errorMsg,
java.util.Optional<java.lang.Throwable> cause) |
static MalformedHeaderRejection |
malformedHeader(java.lang.String headerName,
java.lang.String errorMsg) |
static MalformedHeaderRejection |
malformedHeader(java.lang.String headerName,
java.lang.String errorMsg,
java.util.Optional<java.lang.Throwable> cause) |
static MalformedQueryParamRejection |
malformedQueryParam(java.lang.String parameterName,
java.lang.String errorMsg) |
static MalformedQueryParamRejection |
malformedQueryParam(java.lang.String parameterName,
java.lang.String errorMsg,
java.util.Optional<java.lang.Throwable> cause) |
static MalformedRequestContentRejection |
malformedRequestContent(java.lang.String message,
java.lang.Throwable cause) |
static MethodRejection |
method(HttpMethod supported) |
static MissingCookieRejection |
missingCookie(java.lang.String cookieName) |
static MissingFormFieldRejection |
missingFormField(java.lang.String fieldName) |
static MissingHeaderRejection |
missingHeader(java.lang.String headerName) |
static MissingQueryParamRejection |
missingQueryParam(java.lang.String parameterName) |
static RejectionError |
rejectionError(Rejection rejection) |
static RequestEntityExpectedRejection$ |
requestEntityExpected() |
static SchemeRejection |
scheme(java.lang.String supported) |
static TooManyRangesRejection |
tooManyRanges(int maxRanges) |
static TransformationRejection |
transformationRejection(java.util.function.Function<java.util.List<Rejection>,java.util.List<Rejection>> f) |
static UnacceptedResponseContentTypeRejection |
unacceptedResponseContentType(java.lang.Iterable<ContentType> supportedContentTypes,
java.lang.Iterable<MediaType> supportedMediaTypes) |
static UnacceptedResponseEncodingRejection |
unacceptedResponseEncoding(HttpEncoding supported) |
static UnacceptedResponseEncodingRejection |
unacceptedResponseEncoding(java.lang.Iterable<HttpEncoding> supported) |
static UnsatisfiableRangeRejection |
unsatisfiableRange(java.lang.Iterable<ByteRange> unsatisfiableRanges,
long actualEntityLength) |
static UnsupportedRequestContentTypeRejection |
unsupportedRequestContentType(java.lang.Iterable<MediaType> supported) |
static UnsupportedRequestContentTypeRejection |
unsupportedRequestContentType(java.lang.Iterable<MediaType> supported,
java.util.Optional<ContentType> contentType) |
static UnsupportedRequestEncodingRejection |
unsupportedRequestEncoding(HttpEncoding supported) |
static ValidationRejection |
validationRejection(java.lang.String message) |
static ValidationRejection |
validationRejection(java.lang.String message,
java.util.Optional<java.lang.Throwable> cause) |