Skip to content

Instantly share code, notes, and snippets.

@garystafford
Created February 17, 2016 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garystafford/e9728ffbacbe06c46d9d to your computer and use it in GitHub Desktop.
Save garystafford/e9728ffbacbe06c46d9d to your computer and use it in GitHub Desktop.
public void ping(Request request, Response response) {
response.setResponseStatus(HttpResponseStatus.OK);
response.setResponseCode(200);
response.setBody(true);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment