Class Rejections$
java.lang.Object
org.apache.pekko.http.javadsl.server.Rejections$
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Rejections$Static reference to the singleton instance of this Scala object.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionauthenticationCredentialsMissing(HttpChallenge challenge) authenticationCredentialsRejected(HttpChallenge challenge) invalidRequiredValueForQueryParam(String parameterName, String requiredValue, String actualValue) malformedFormField(String fieldName, String errorMsg) malformedFormField(String fieldName, String errorMsg, Optional<Throwable> cause) malformedHeader(String headerName, String errorMsg) malformedHeader(String headerName, String errorMsg, Optional<Throwable> cause) malformedQueryParam(String parameterName, String errorMsg) malformedQueryParam(String parameterName, String errorMsg, Optional<Throwable> cause) malformedRequestContent(String message, Throwable cause) method(HttpMethod supported) missingCookie(String cookieName) missingFormField(String fieldName) missingHeader(String headerName) missingQueryParam(String parameterName) rejectionError(Rejection rejection) tooManyRanges(int maxRanges) unacceptedResponseContentType(Iterable<ContentType> supportedContentTypes, Iterable<MediaType> supportedMediaTypes) unacceptedResponseEncoding(Iterable<HttpEncoding> supported) unacceptedResponseEncoding(HttpEncoding supported) unsatisfiableRange(Iterable<ByteRange> unsatisfiableRanges, long actualEntityLength) unsupportedRequestContentType(Iterable<MediaType> supported) unsupportedRequestContentType(Iterable<MediaType> supported, Optional<ContentType> contentType) unsupportedRequestEncoding(HttpEncoding supported) validationRejection(String message) validationRejection(String message, Optional<Throwable> cause) 
- 
Field Details- 
MODULE$Static reference to the singleton instance of this Scala object.
 
- 
- 
Constructor Details- 
Rejections$public Rejections$()
 
- 
- 
Method Details- 
method
- 
scheme
- 
missingQueryParam
- 
invalidRequiredValueForQueryParampublic InvalidRequiredValueForQueryParamRejection invalidRequiredValueForQueryParam(String parameterName, String requiredValue, String actualValue) 
- 
malformedQueryParam
- 
malformedQueryParampublic MalformedQueryParamRejection malformedQueryParam(String parameterName, String errorMsg, Optional<Throwable> cause) 
- 
missingFormField
- 
malformedFormField
- 
malformedFormFieldpublic MalformedFormFieldRejection malformedFormField(String fieldName, String errorMsg, Optional<Throwable> cause) 
- 
missingHeader
- 
malformedHeader
- 
malformedHeaderpublic MalformedHeaderRejection malformedHeader(String headerName, String errorMsg, Optional<Throwable> cause) 
- 
unsupportedRequestContentTypepublic UnsupportedRequestContentTypeRejection unsupportedRequestContentType(Iterable<MediaType> supported, Optional<ContentType> contentType) 
- 
unsupportedRequestContentTypepublic UnsupportedRequestContentTypeRejection unsupportedRequestContentType(Iterable<MediaType> supported) 
- 
unsupportedRequestEncoding
- 
unsatisfiableRangepublic UnsatisfiableRangeRejection unsatisfiableRange(Iterable<ByteRange> unsatisfiableRanges, long actualEntityLength) 
- 
tooManyRanges
- 
malformedRequestContent
- 
requestEntityExpected
- 
unacceptedResponseContentTypepublic UnacceptedResponseContentTypeRejection unacceptedResponseContentType(Iterable<ContentType> supportedContentTypes, Iterable<MediaType> supportedMediaTypes) 
- 
unacceptedResponseEncoding
- 
unacceptedResponseEncodingpublic UnacceptedResponseEncodingRejection unacceptedResponseEncoding(Iterable<HttpEncoding> supported) 
- 
authenticationCredentialsMissing
- 
authenticationCredentialsRejected
- 
authorizationFailed
- 
missingCookie
- 
expectedWebSocketRequest
- 
validationRejection
- 
validationRejection
- 
transformationRejection
- 
rejectionError
 
-