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, toString
public AuthenticationException(Optional<String> authenticationHeader)
AuthenticationException
.authenticationHeader
- Authentication header which will be sent to the client.public InfinispanResponse toResponse(InfinispanRequest request)
RestResponseException
toResponse
in class RestResponseException
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.