public interface SearchRequestViewAccessErrorHandler
Modifier and Type | Field and Description |
---|---|
static String |
PERMISSION_VIOLATION |
static String |
SEARCH_REQUEST_DOES_NOT_EXIST |
Modifier and Type | Method and Description |
---|---|
void |
writeErrorHeaders(RequestHeaders requestHeaders)
Prints the HTML headers for non-typial HTML such as Word or Excel views.
|
void |
writePermissionViolationError(Writer writer)
Prints the error to display to the users if there has been a permission violation error looking up the
SearchRequest that this view is meant to service.
|
void |
writeSearchRequestDoesNotExistError(Writer writer)
Prints the error to display to the users if there has been a permission violation error looking up the
SearchRequest that this view is meant to service.
|
static final String PERMISSION_VIOLATION
static final String SEARCH_REQUEST_DOES_NOT_EXIST
void writeErrorHeaders(RequestHeaders requestHeaders)
Please make certain that you set the content type and character set in this method.
requestHeaders
- void writePermissionViolationError(Writer writer) throws IOException
writer
- IOException
void writeSearchRequestDoesNotExistError(Writer writer) throws IOException
writer
- IOException
Copyright © 2002-2017 Atlassian. All Rights Reserved.