Finds the ErrorPage, if any, for the given HTTP status code. @param statusCode The HTTP status code @return The ErrorPage for the status code, or null if none is configured
(int statusCode)
| 80 | * @return The ErrorPage for the status code, or {@code null} if none is configured |
| 81 | */ |
| 82 | public ErrorPage find(int statusCode) { |
| 83 | return statusPages.get(Integer.valueOf(statusCode)); |
| 84 | } |
| 85 | |
| 86 | |
| 87 | /** |
no test coverage detected