public class AuditingRestResource extends AbstractRestResource
jiraAuthenticationContext, log
Modifier | Constructor and Description |
---|---|
protected |
AuditingRestResource(JiraAuthenticationContext jiraAuthenticationContext) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
applyError(AuditingError error,
java.util.function.BiFunction<String,String,javax.ws.rs.core.Response> mkResponse) |
javax.ws.rs.core.Response |
badRequest(AuditingError error) |
javax.ws.rs.core.Response |
forbiddenRequest(AuditingError error) |
javax.ws.rs.core.Response |
notFoundRequest(AuditingError error) |
javax.ws.rs.core.Response |
unauthorizedRequest(AuditingError error) |
badRequest, badRequest, badRequest, created, errorResponse, forbiddenRequest, forbiddenRequest, forbiddenRequest, getLoggedInUser, getText, isAnonymousUser, noContent, notFoundRequest, notFoundRequest, notFoundRequest, notModified, ok, response, unauthorizedRequest, unauthorizedRequest, unauthorizedRequest
protected AuditingRestResource(JiraAuthenticationContext jiraAuthenticationContext)
public javax.ws.rs.core.Response badRequest(AuditingError error)
public javax.ws.rs.core.Response notFoundRequest(AuditingError error)
public javax.ws.rs.core.Response forbiddenRequest(AuditingError error)
public javax.ws.rs.core.Response unauthorizedRequest(AuditingError error)
public javax.ws.rs.core.Response applyError(AuditingError error, java.util.function.BiFunction<String,String,javax.ws.rs.core.Response> mkResponse)
Copyright © 2002-2024 Atlassian. All Rights Reserved.