@Provider public class AccessDeniedMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<AccessDenied>
AccessDenied
exception to the Unauthorized response.Constructor and Description |
---|
AccessDeniedMapper() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
toResponse(AccessDenied e) |
public javax.ws.rs.core.Response toResponse(AccessDenied e)
toResponse
in interface javax.ws.rs.ext.ExceptionMapper<AccessDenied>
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.