|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.Restlet
org.restlet.Application
com.sibvisions.rad.server.http.rest.RESTAdapter
public class RESTAdapter
The RESTAdapter class enables access to application life-cycle objects of JVx.
| Field Summary | |
|---|---|
static String |
PARAM_ACTION_NAME
the name of the "action" parameter. |
static String |
PARAM_ADMIN_ACTION
the name of the "admin action" parameter. |
static String |
PARAM_ADMIN_ACTION_PARAM
the name of the "admin action parameter" parameter. |
static String |
PARAM_APP_NAME
the name of the "application name" parameter. |
static String |
PARAM_LCO_CLASS
the name of the "lifecycle class" parameter. |
static String |
PARAM_OBJECT_NAME
the name of the "object" parameter. |
static String |
PARAM_PK
the name of the "primary key" parameter. |
| Constructor Summary | |
|---|---|
RESTAdapter()
|
|
| Method Summary | |
|---|---|
protected void |
configureSession(ISession pSession)
Configures a session after it was created. |
protected void |
configureSessionParameter(Map<String,Object> pParameter)
Configures session paramaters before a session will be created. |
static HashMap<String,Object> |
createConnectionProperties(RESTAdapter pAdapter,
org.restlet.Request pRequest)
Creates the connection properties for a new connection. |
org.restlet.Restlet |
createInboundRoot()
Creates a root Restlet that will receive all incoming calls. |
protected ClassLoader |
getClassLoader(ISession pSession)
Gets the class loader for the given session. |
| Methods inherited from class org.restlet.Application |
|---|
createOutboundRoot, getConnectorService, getConnegService, getConverterService, getCurrent, getDecoderService, getEncoderService, getInboundRoot, getMetadataService, getOutboundRoot, getRangeService, getRole, getRoles, getServices, getStatusService, getTaskService, getTunnelService, handle, isDebugging, setConnectorService, setConnegService, setContext, setConverterService, setCurrent, setDebugging, setDecoderService, setEncoderService, setInboundRoot, setInboundRoot, setMetadataService, setOutboundRoot, setOutboundRoot, setRangeService, setRoles, setStatusService, setTaskService, setTunnelService, start, stop |
| Methods inherited from class org.restlet.Restlet |
|---|
createFinder, finalize, getApplication, getAuthor, getContext, getDescription, getFinderClass, getLogger, getName, getOwner, handle, handle, handle, isStarted, isStopped, setAuthor, setDescription, setFinderClass, setName, setOwner |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PARAM_APP_NAME
public static final String PARAM_LCO_CLASS
public static final String PARAM_OBJECT_NAME
public static final String PARAM_ACTION_NAME
public static final String PARAM_ADMIN_ACTION
public static final String PARAM_ADMIN_ACTION_PARAM
public static final String PARAM_PK
| Constructor Detail |
|---|
public RESTAdapter()
| Method Detail |
|---|
public org.restlet.Restlet createInboundRoot()
createInboundRoot in class org.restlet.Applicationprotected ClassLoader getClassLoader(ISession pSession)
pSession - the session
null if there's no specific class loaderprotected void configureSessionParameter(Map<String,Object> pParameter)
pParameter - the session parameterprotected void configureSession(ISession pSession)
pSession - the session
public static final HashMap<String,Object> createConnectionProperties(RESTAdapter pAdapter,
org.restlet.Request pRequest)
pAdapter - the applicationpRequest - the request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||