Class CounterService


  • @Path("/")
    public class CounterService
    extends java.lang.Object
    Session-aware counter service which counts & returns the number of requests from each session.
    • Constructor Summary

      Constructors 
      Constructor Description
      CounterService()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int count​(org.wso2.msf4j.Request request)  
      • Methods inherited from class java.lang.Object

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

      • CounterService

        public CounterService()
    • Method Detail

      • count

        @GET
        public int count​(@Context
                         org.wso2.msf4j.Request request)