OutRequestPAMessage.java

  1. /*
  2.  * GovWay - A customizable API Gateway
  3.  * https://govway.org
  4.  *
  5.  * Copyright (c) 2005-2025 Link.it srl (https://link.it).
  6.  *
  7.  * This program is free software: you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License version 3, as published by
  9.  * the Free Software Foundation.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  18.  *
  19.  */

  20. package org.openspcoop2.pdd.core.integrazione;

  21. import java.util.List;
  22. import java.util.Map;

  23. import org.openspcoop2.core.config.PortaApplicativa;
  24. import org.openspcoop2.core.config.PortaDelegata;
  25. import org.openspcoop2.core.id.IDServizio;
  26. import org.openspcoop2.core.id.IDSoggetto;
  27. import org.openspcoop2.message.OpenSPCoop2Message;
  28. import org.openspcoop2.protocol.sdk.Busta;

  29. /**
  30.  * OutRequestPAMessage
  31.  *
  32.  * @author Poli Andrea (apoli@link.it)
  33.  * @author $Author$
  34.  * @version $Rev$, $Date$
  35.  */
  36. public class OutRequestPAMessage {

  37.     private OpenSPCoop2Message message;
  38.     private Map<String, List<String>> headers;
  39.     private Map<String, List<String>> parameters;
  40.     private PortaApplicativa portaApplicativa;
  41.     private PortaDelegata portaDelegata; // presente al posto della PA in caso di SCENARIO_ASINCRONO_SIMMETRICO_CONSEGNA_RISPOSTA
  42.     private IDSoggetto soggettoMittente;
  43.     private IDServizio servizio;
  44.     private Busta bustaRichiesta;
  45.    
  46.     public Busta getBustaRichiesta() {
  47.         return this.bustaRichiesta;
  48.     }
  49.     public void setBustaRichiesta(Busta busta) {
  50.         this.bustaRichiesta = busta;
  51.     }
  52.     public OpenSPCoop2Message getMessage() {
  53.         return this.message;
  54.     }
  55.     public void setMessage(OpenSPCoop2Message message) {
  56.         this.message = message;
  57.     }
  58.     public Map<String, List<String>> getHeaders() {
  59.         return this.headers;
  60.     }
  61.     public void setHeaders(Map<String, List<String>> proprietaTrasporto) {
  62.         this.headers = proprietaTrasporto;
  63.     }
  64.     public IDSoggetto getSoggettoMittente() {
  65.         return this.soggettoMittente;
  66.     }
  67.     public void setSoggettoMittente(IDSoggetto soggettoMittente) {
  68.         this.soggettoMittente = soggettoMittente;
  69.     }
  70.     public IDServizio getServizio() {
  71.         return this.servizio;
  72.     }
  73.     public void setServizio(IDServizio servizio) {
  74.         this.servizio = servizio;
  75.     }
  76.     public PortaApplicativa getPortaApplicativa() {
  77.         return this.portaApplicativa;
  78.     }
  79.     public void setPortaApplicativa(PortaApplicativa portaApplicativa) {
  80.         this.portaApplicativa = portaApplicativa;
  81.     }
  82.     public PortaDelegata getPortaDelegata() {
  83.         return this.portaDelegata;
  84.     }
  85.     public void setPortaDelegata(PortaDelegata portaDelegata) {
  86.         this.portaDelegata = portaDelegata;
  87.     }
  88.     public Map<String, List<String>> getParameters() {
  89.         return this.parameters;
  90.     }
  91.     public void setParameters(Map<String, List<String>> proprietaUrlBased) {
  92.         this.parameters = proprietaUrlBased;
  93.     }
  94.    
  95. }