Skip to content
Snippets Groups Projects
Commit 9fdb3486 authored by kwanggithub's avatar kwanggithub
Browse files

fixing white space in NoOp.java

parent 6c182a24
No related branches found
No related tags found
No related merge requests found
......@@ -24,16 +24,17 @@ import org.restlet.resource.Put;
import org.restlet.resource.ServerResource;
public class NoOp extends ServerResource {
/**
* Does nothing and returns 200 OK with a status message
* @return status: ok
*/
@Get
@Put
@Post
@Delete
public String noOp(String postdata) {
setStatus(Status.SUCCESS_OK);
/**
* Does nothing and returns 200 OK with a status message
*
* @return status: ok
*/
@Get
@Put
@Post
@Delete
public String noOp(String postdata) {
setStatus(Status.SUCCESS_OK);
return "{\"status\":\"ok\"}";
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment