This project has retired. For details please refer to its
        
        Attic page.
      
org.apache.cocoon.rest.optional
Class AbstractAsyncronService
java.lang.Object
   org.apache.cocoon.rest.optional.AbstractAsyncronService
org.apache.cocoon.rest.optional.AbstractAsyncronService
- All Implemented Interfaces: 
- Runnable, Get, Post
- Direct Known Subclasses: 
- ProgressService
- public abstract class AbstractAsyncronService 
- extends Object- implements Get, Post, Runnable
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
bidExecutor
protected AbstractAsyncronService.ThreadPerTaskExecutor bidExecutor
AbstractAsyncronService
public AbstractAsyncronService()
setId
public void setId(String id)
- 
 
- 
 
updateProgress
protected void updateProgress(int i)
- 
 
- 
 
getProgress
protected Object getProgress()
- 
 
- 
 
doPost
public abstract RestResponse doPost()
                             throws Exception
- 
- Specified by:
- doPostin interface- Post
 
- 
- Throws:
- Exception
 
doGet
public abstract RestResponse doGet()
                            throws Exception
- 
- Specified by:
- doGetin interface- Get
 
- 
- Throws:
- Exception
 
run
public abstract void run()
- 
- Specified by:
- runin interface- Runnable
 
- 
 
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.