Class PojoMicroservice


  • public class PojoMicroservice
    extends java.lang.Object
    This example shows a microservice as Java pojo Note that here no interface is used.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String sayHello​(java.lang.String name)
      Say hello.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PojoMicroservice

        public PojoMicroservice()
    • Method Detail

      • sayHello

        public java.lang.String sayHello​(java.lang.String name)
        Say hello.
        Parameters:
        name - The name.
        Returns:
        The greeting.