found property

int found
final

Indicates how much was found before a result could not be created.

This member is typically used to distinguish between the situation of the HTTP method not being supported (when its value is NotFoundException.foundNothing and when at least there were some rules for processing the HTTP method (when its value is any other value). In the former situation, the HTTP response should return a status of HttpStatus.methodNotAllowed. In the later situation, the HTTP response should return a status of HttpStatus.notFound.

Implementation

final int found;