Class GuestPrivateService

java.lang.Object
org.gcube.service.helloworld.rest.GuestPrivateService

@Path("guest/private") public class GuestPrivateService extends Object
A path under /guest that needs a token all the same: /guest/* is listed under excludes in application.yaml, /guest/private under includes, and an include wins over any exclude.
Author:
Luca Frosini (ISTI-CNR)
  • Constructor Details

    • GuestPrivateService

      public GuestPrivateService()
  • Method Details

    • privateMethod

      @GET @Produces("text/plain") public String privateMethod()
      Answers the caller, who must give a token.
      Returns:
      a message naming the caller