fr.cnes.sitools.applications.basic
Class ProxyApp

java.lang.Object
  extended by ExtendedWadlApplication
      extended by fr.cnes.sitools.common.application.SitoolsApplication
          extended by fr.cnes.sitools.common.application.SitoolsParameterizedApplication
              extended by fr.cnes.sitools.plugins.applications.business.AbstractApplicationPlugin
                  extended by fr.cnes.sitools.applications.basic.ProxyApp
All Implemented Interfaces:
Validable

public final class ProxyApp
extends AbstractApplicationPlugin

Plugin Application to redirect client request to target template url in Redirector mode.

Author:
jp.boignard

Constructor Summary
ProxyApp()
          Default constructor Used when getting parameters for generic configuration of an application instance
ProxyApp(org.restlet.Context context)
          Default constructor
ProxyApp(org.restlet.Context arg0, ApplicationPluginModel model)
          Constructor with context and model of the application configuration used when actually creating application instance
 
Method Summary
 void constructor()
          the common part of constructor
 org.restlet.Restlet createInboundRoot()
           
 Validator<AbstractApplicationPlugin> getValidator()
          Get the Validator on a Object
 void handle(org.restlet.Request request, org.restlet.Response response)
           
 void sitoolsDescribe()
          Abstract method for thinking about implementing it for each concrete application describe is the RESTlet method, but overriding, prevents the self-describing functionality.
 
Methods inherited from class fr.cnes.sitools.plugins.applications.business.AbstractApplicationPlugin
addParameter, getModel, getParameter, setModel
 
Methods inherited from class fr.cnes.sitools.common.application.SitoolsParameterizedApplication
attachParameterizedResources, detachParameterizedResource, getApplicationInfo, getModel, getModelMap, getPluginStore, setModelMap
 
Methods inherited from class fr.cnes.sitools.common.application.SitoolsApplication
addSecurity, addSecurity, addSecurityFilter, defaultDescribe, getAttachementRef, getAuthenticationRealm, getAuthorizer, getAuthorizer, getAuthorizer, getCategory, getId, getPublicBaseRef, getRepresentationInfoReferences, getSecure, getSettings, getSitoolsApplicationInfo, getType, getUserAuthorizer, isAuthorizationSecure, isUserAuthenticationNeeded, register, setAutoRegistration, setCategory, setId, setSitoolsApplicationInfo, setType, setUserAuthenticationNeeded, start, stop, unregister, wrapToResource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyApp

public ProxyApp(org.restlet.Context context)
Default constructor

Parameters:
context - context

ProxyApp

public ProxyApp()
Default constructor Used when getting parameters for generic configuration of an application instance


ProxyApp

public ProxyApp(org.restlet.Context arg0,
                ApplicationPluginModel model)
Constructor with context and model of the application configuration used when actually creating application instance

Parameters:
arg0 - Restlet context
model - model contains configuration parameters of the application instance
Method Detail

constructor

public void constructor()
the common part of constructor


sitoolsDescribe

public void sitoolsDescribe()
Description copied from class: SitoolsApplication
Abstract method for thinking about implementing it for each concrete application describe is the RESTlet method, but overriding, prevents the self-describing functionality.

Specified by:
sitoolsDescribe in class SitoolsApplication

createInboundRoot

public org.restlet.Restlet createInboundRoot()

handle

public void handle(org.restlet.Request request,
                   org.restlet.Response response)

getValidator

public Validator<AbstractApplicationPlugin> getValidator()
Description copied from interface: Validable
Get the Validator on a Object

Specified by:
getValidator in interface Validable
Overrides:
getValidator in class AbstractApplicationPlugin
Returns:
the validator on a object


Copyright © 2010-2013 CNES. All Rights Reserved.