org.apache.cocoon.rest.optional.sample
Class ProgressService

java.lang.Object
  extended by org.apache.cocoon.rest.optional.AbstractAsyncronService
      extended by org.apache.cocoon.rest.optional.sample.ProgressService
All Implemented Interfaces:
Runnable, Get, Post

public class ProgressService
extends AbstractAsyncronService


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.cocoon.rest.optional.AbstractAsyncronService
AbstractAsyncronService.ThreadPerTaskExecutor
 
Field Summary
 
Fields inherited from class org.apache.cocoon.rest.optional.AbstractAsyncronService
bidExecutor
 
Constructor Summary
ProgressService()
           
 
Method Summary
 RestResponse doGet()
           
 RestResponse doPost()
           
 void run()
           
 
Methods inherited from class org.apache.cocoon.rest.optional.AbstractAsyncronService
getProgress, setId, updateProgress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressService

public ProgressService()
Method Detail

doPost

public RestResponse doPost()
                    throws Exception
Specified by:
doPost in interface Post
Specified by:
doPost in class AbstractAsyncronService
Throws:
Exception

doGet

public RestResponse doGet()
                   throws Exception
Specified by:
doGet in interface Get
Specified by:
doGet in class AbstractAsyncronService
Throws:
Exception

run

public void run()
Specified by:
run in interface Runnable
Specified by:
run in class AbstractAsyncronService


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.