Package akka.http.javadsl.server
Class Rejections$
java.lang.Object
akka.http.javadsl.server.Rejections$
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Rejections$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier 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
(HttpEncoding supported) unacceptedResponseEncoding
(Iterable<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
-
invalidRequiredValueForQueryParam
public InvalidRequiredValueForQueryParamRejection invalidRequiredValueForQueryParam(String parameterName, String requiredValue, String actualValue) -
malformedQueryParam
-
malformedQueryParam
public MalformedQueryParamRejection malformedQueryParam(String parameterName, String errorMsg, Optional<Throwable> cause) -
missingFormField
-
malformedFormField
-
malformedFormField
public MalformedFormFieldRejection malformedFormField(String fieldName, String errorMsg, Optional<Throwable> cause) -
missingHeader
-
malformedHeader
-
malformedHeader
public MalformedHeaderRejection malformedHeader(String headerName, String errorMsg, Optional<Throwable> cause) -
unsupportedRequestContentType
public UnsupportedRequestContentTypeRejection unsupportedRequestContentType(Iterable<MediaType> supported, Optional<ContentType> contentType) -
unsupportedRequestContentType
public UnsupportedRequestContentTypeRejection unsupportedRequestContentType(Iterable<MediaType> supported) -
unsupportedRequestEncoding
-
unsatisfiableRange
public UnsatisfiableRangeRejection unsatisfiableRange(Iterable<ByteRange> unsatisfiableRanges, long actualEntityLength) -
tooManyRanges
-
malformedRequestContent
-
requestEntityExpected
-
unacceptedResponseContentType
public UnacceptedResponseContentTypeRejection unacceptedResponseContentType(Iterable<ContentType> supportedContentTypes, Iterable<MediaType> supportedMediaTypes) -
unacceptedResponseEncoding
-
unacceptedResponseEncoding
public UnacceptedResponseEncodingRejection unacceptedResponseEncoding(Iterable<HttpEncoding> supported) -
authenticationCredentialsMissing
-
authenticationCredentialsRejected
-
authorizationFailed
-
missingCookie
-
expectedWebSocketRequest
-
validationRejection
-
validationRejection
-
transformationRejection
-
rejectionError
-