PreInAcceptRequestContext.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.handlers;

  21. import org.openspcoop2.core.constants.TipoPdD;
  22. import org.openspcoop2.pdd.services.connector.messages.ConnectorInMessage;
  23. import org.openspcoop2.protocol.sdk.Context;
  24. import org.openspcoop2.protocol.sdk.state.RequestInfo;
  25. import org.slf4j.Logger;

  26. /**
  27.  * PreInAcceptRequestContext
  28.  *
  29.  * @author Poli Andrea (apoli@link.it)
  30.  * @author $Author$
  31.  * @version $Rev$, $Date$
  32.  */
  33. public class PreInAcceptRequestContext {

  34.     /** Tipo porta di dominio */
  35.     private TipoPdD tipoPorta;
  36.    
  37.     /** IDModulo */
  38.     private String idModulo;
  39.    
  40.     /** Logger */
  41.     private Logger logCore;
  42.    
  43.     /** RequestInfo */
  44.     RequestInfo requestInfo;
  45.    
  46.     /** ConnectorInMessage */
  47.     private ConnectorInMessage req;

  48.     /** PreContext */
  49.     private Context preContext;

  50.     public TipoPdD getTipoPorta() {
  51.         return this.tipoPorta;
  52.     }

  53.     public void setTipoPorta(TipoPdD tipoPorta) {
  54.         this.tipoPorta = tipoPorta;
  55.     }

  56.     public Logger getLogCore() {
  57.         return this.logCore;
  58.     }

  59.     public void setLogCore(Logger logCore) {
  60.         this.logCore = logCore;
  61.     }
  62.    
  63.     public String getIdModulo() {
  64.         return this.idModulo;
  65.     }

  66.     public void setIdModulo(String idModulo) {
  67.         this.idModulo = idModulo;
  68.     }
  69.    
  70.     public RequestInfo getRequestInfo() {
  71.         return this.requestInfo;
  72.     }

  73.     public void setRequestInfo(RequestInfo requestInfo) {
  74.         this.requestInfo = requestInfo;
  75.     }
  76.    
  77.     public ConnectorInMessage getReq() {
  78.         return this.req;
  79.     }

  80.     public void setReq(ConnectorInMessage req) {
  81.         this.req = req;
  82.     }
  83.    
  84.     public Context getPreContext() {
  85.         return this.preContext;
  86.     }

  87.     public void setPreContext(Context preContext) {
  88.         this.preContext = preContext;
  89.     }

  90. }