Class HelloWorldResource

All Implemented Interfaces:
BasicUniversalConfig, DefaultConfig, DefaultHtmlConfig, BasicRestOperations

public class HelloWorldResource extends BasicRestObject
Sample REST resource that prints out a simple "Hello world!" message.
See Also:
  • Constructor Details

  • Method Details

    • sayHello

      public String sayHello()
      [HTTP GET /helloworld] Returns a simple string message.
      Returns:
      A simple Hello-World message.