Class SimpleLongRunningResource


  • @Path("async/longrunning")
    @Produces("text/plain")
    public class SimpleLongRunningResource
    extends Object
    Example of a simple resource with a long-running operation executed in a custom application thread.
    Author:
    Marek Potociar
    • Constructor Detail

      • SimpleLongRunningResource

        public SimpleLongRunningResource()
    • Method Detail

      • longGet

        @GET
        public void longGet​(@Suspended
                            jakarta.ws.rs.container.AsyncResponse ar)