org.ofbiz.service.engine
Class HttpEngine
java.lang.Object
org.ofbiz.service.engine.AbstractEngine
org.ofbiz.service.engine.GenericAsyncEngine
org.ofbiz.service.engine.HttpEngine
- All Implemented Interfaces:
- GenericEngine
public class HttpEngine
- extends GenericAsyncEngine
HttpEngine.java
|
Field Summary |
static java.lang.String |
module
|
|
Method Summary |
static java.lang.String |
httpEngine(HttpServletRequest request,
HttpServletResponse response)
Event for handling HTTP services |
java.util.Map<java.lang.String,java.lang.Object> |
runSync(java.lang.String localName,
ModelService modelService,
java.util.Map<java.lang.String,java.lang.Object> context)
Run the service synchronously and return the result. |
void |
runSyncIgnore(java.lang.String localName,
ModelService modelService,
java.util.Map<java.lang.String,java.lang.Object> context)
Run the service synchronously and IGNORE the result. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
module
public static final java.lang.String module
HttpEngine
public HttpEngine(ServiceDispatcher dispatcher)
runSync
public java.util.Map<java.lang.String,java.lang.Object> runSync(java.lang.String localName,
ModelService modelService,
java.util.Map<java.lang.String,java.lang.Object> context)
throws GenericServiceException
- Description copied from interface:
GenericEngine
- Run the service synchronously and return the result.
- Specified by:
runSync in interface GenericEngine- Specified by:
runSync in class GenericAsyncEngine
- Parameters:
localName - Name of the LocalDispatcher.modelService - Service model object.context - Map of name, value pairs composing the context.
- Returns:
- Map of name, value pairs composing the result.
- Throws:
GenericServiceException- See Also:
GenericEngine.runSync(java.lang.String, org.ofbiz.service.ModelService, java.util.Map)
runSyncIgnore
public void runSyncIgnore(java.lang.String localName,
ModelService modelService,
java.util.Map<java.lang.String,java.lang.Object> context)
throws GenericServiceException
- Description copied from interface:
GenericEngine
- Run the service synchronously and IGNORE the result.
- Specified by:
runSyncIgnore in interface GenericEngine- Specified by:
runSyncIgnore in class GenericAsyncEngine
- Parameters:
localName - Name of the LocalDispatcher.modelService - Service model object.context - Map of name, value pairs composing the context.
- Throws:
GenericServiceException- See Also:
GenericEngine.runSyncIgnore(java.lang.String, org.ofbiz.service.ModelService, java.util.Map)
httpEngine
public static java.lang.String httpEngine(HttpServletRequest request,
HttpServletResponse response)
- Event for handling HTTP services
- Parameters:
request - HttpServletRequest objectresponse - HttpServletResponse object
- Returns:
- null