@Controller public class LabelDebugService extends BaseService
LabelDebugService class.
| Constructor and Description |
|---|
LabelDebugService() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Map<String,Object>> |
checkDebuggingStatus()
Checks if debugging of labels is enabled or disabled
|
org.springframework.http.ResponseEntity<Map<String,Object>> |
setDebuggingStatus(Boolean enabled)
Sets the enabled flag on the label debugger to the given parameter
|
getStringStackTrace, getWebSession, handleException@RequestMapping(value="/debug/labels.mvc",
produces="application/json")
@ResponseBody
public org.springframework.http.ResponseEntity<Map<String,Object>> checkDebuggingStatus()
ResponseEntity object.@RequestMapping(value="/debug/labels.mvc",
produces="application/json",
params="enabled")
@ResponseBody
public org.springframework.http.ResponseEntity<Map<String,Object>> setDebuggingStatus(@RequestParam(value="enabled")
Boolean enabled)
throws Exception
enabled - LabelDebugger objectResponseEntity object.Exception - unhandled exceptionCopyright © 2006–2016 OWASP. All rights reserved.