Class ProjectsInterfacePlugin<C extends DefaultDocumentsClient,​P extends org.gcube.application.geoportal.common.model.document.Project>

  • All Implemented Interfaces:
    org.gcube.common.clients.delegates.ProxyPlugin<EndpointReference,​javax.ws.rs.client.WebTarget,​org.gcube.application.geoportal.common.rest.Projects<P>>, org.gcube.common.clients.Plugin<javax.ws.rs.client.WebTarget,​org.gcube.application.geoportal.common.rest.Projects<P>>

    public class ProjectsInterfacePlugin<C extends DefaultDocumentsClient,​P extends org.gcube.application.geoportal.common.model.document.Project>
    extends GeoportalAbstractPlugin<javax.ws.rs.client.WebTarget,​org.gcube.application.geoportal.common.rest.Projects<P>>
    • Constructor Detail

      • ProjectsInterfacePlugin

        public ProjectsInterfacePlugin()
    • Method Detail

      • convert

        public Exception convert​(Exception fault,
                                 org.gcube.common.clients.config.ProxyConfig<?,​?> config)
        Specified by:
        convert in interface org.gcube.common.clients.delegates.ProxyPlugin<EndpointReference,​javax.ws.rs.client.WebTarget,​org.gcube.application.geoportal.common.rest.Projects<P extends org.gcube.application.geoportal.common.model.document.Project>>
        Overrides:
        convert in class GeoportalAbstractPlugin<javax.ws.rs.client.WebTarget,​org.gcube.application.geoportal.common.rest.Projects<P extends org.gcube.application.geoportal.common.model.document.Project>>
      • newProxy

        public org.gcube.application.geoportal.common.rest.Projects<P> newProxy​(org.gcube.common.clients.delegates.ProxyDelegate<javax.ws.rs.client.WebTarget> delegate)
      • resolve

        public javax.ws.rs.client.WebTarget resolve​(EndpointReference address,
                                                    org.gcube.common.clients.config.ProxyConfig<?,​?> config)
                                             throws Exception
        Throws:
        Exception