public class DispatchGenerator extends DispatchGenerator
DispatchGenerator.ResponseHandler
Modifier and Type | Field and Description |
---|---|
private CurrentUserProvider |
_currentUserProvider |
private AmetysObjectResolver |
_resolver |
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
DispatchGenerator() |
Modifier and Type | Method and Description |
---|---|
protected void |
_setContextInRequestAttributes(Map<String,Object> contextAsMap)
Set the request attributes from the contextual parameters
|
void |
service(ServiceManager smanager) |
protected Map<String,Object> |
transmitAttributes(Map<String,Object> attributes)
Filters attributes that should be transmitted to the dispatched request
|
_createUrl, _getUrlPrefix, generate
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
private AmetysObjectResolver _resolver
private CurrentUserProvider _currentUserProvider
public DispatchGenerator()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class DispatchGenerator
ServiceException
protected void _setContextInRequestAttributes(Map<String,Object> contextAsMap)
DispatchGenerator
_setContextInRequestAttributes
in class DispatchGenerator
contextAsMap
- The contextual parametersprotected Map<String,Object> transmitAttributes(Map<String,Object> attributes)
DispatchGenerator
transmitAttributes
in class DispatchGenerator
attributes
- The full list of attributes