ResourceHttpRequestHandler can not find a resource.
org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler , org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver
| Modifier and Type | Field and Description |
|---|---|
| private final ProblemDetail | |
| private final HttpMethod | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ProblemDetail | getBody()
Implements org. Return the body for the response, formatted as an RFC 7807
|
| public HttpMethod | |
| public String | |
| public HttpStatusCode | getStatusCode()
Implements org. Return the HTTP status code to use for the response. |
| body | back to summary |
|---|---|
| private final ProblemDetail body | |
| httpMethod | back to summary |
|---|---|
| private final HttpMethod httpMethod | |
| resourcePath | back to summary |
|---|---|
| private final String resourcePath | |
| NoResourceFoundException | back to summary |
|---|---|
| public NoResourceFoundException(HttpMethod httpMethod, String resourcePath) Create an instance. | |
| getBody | back to summary |
|---|---|
| public ProblemDetail getBody() Implements org. Doc from org. Return the body for the response, formatted as an RFC 7807
| |
| getHttpMethod | back to summary |
|---|---|
| public HttpMethod getHttpMethod() Return the HTTP method for the request. | |
| getResourcePath | back to summary |
|---|---|
| public String getResourcePath() Return the path used to locate the resource. | |
| getStatusCode | back to summary |
|---|---|
| public HttpStatusCode getStatusCode() Implements org. Doc from org. Return the HTTP status code to use for the response.
| |