public class AuthenticationException extends RestResponseException
| Constructor and Description |
|---|
AuthenticationException(Optional<String> authenticationHeader)
Creates new
AuthenticationException. |
| Modifier and Type | Method and Description |
|---|---|
InfinispanResponse |
toResponse(InfinispanRequest request)
Creates Netty response based on error.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AuthenticationException(Optional<String> authenticationHeader)
AuthenticationException.authenticationHeader - Authentication header which will be sent to the client.public InfinispanResponse toResponse(InfinispanRequest request)
RestResponseExceptiontoResponse in class RestResponseExceptionCopyright © 2018 JBoss, a division of Red Hat. All rights reserved.