Annotation Interface RequestUri
Annotation used for the UriInfo parameter on the controller method. An example is as below.
@ResponseBody
public ResponseEntity<GroupObject> getGroup(
@PathVariable("repositoryName") final String repositoryName,
@PathVariable("groupName") final String groupName,
@RequestUri final UriInfo uriInfo) {
}
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
If checkExt is set to true (default value), UriInfoResolver will throw exception when the request URI contains a non standard extension (.json/.xml)
-
Element Details
-
checkExt
boolean checkExtIf checkExt is set to true (default value), UriInfoResolver will throw exception when the request URI contains a non standard extension (.json/.xml)- Returns:
true
if to check the URI extension;false
for otherwise.
- Default:
- true
-