BaseServer.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.utils.logger.beans.context.core;

  21. import java.io.Serializable;

  22. /**
  23.  * BaseServer
  24.  *
  25.  * @author Poli Andrea (apoli@link.it)
  26.  * @author $Author$
  27.  * @version $Rev$, $Date$
  28.  */
  29. public class BaseServer extends BaseConnection implements Serializable {

  30.     /**
  31.      *
  32.      */
  33.     private static final long serialVersionUID = 1L;
  34.    
  35.     private String endpoint;
  36.     private String endpointType;
  37.     private String idOperation;
  38.     private ConnectionMessage request;
  39.     private ConnectionMessage response;
  40.        
  41.     public String getEndpoint() {
  42.         return this.endpoint;
  43.     }
  44.     public void setEndpoint(String endpoint) {
  45.         this.endpoint = endpoint;
  46.     }
  47.     public String getEndpointType() {
  48.         return this.endpointType;
  49.     }
  50.     public void setEndpointType(String endpointType) {
  51.         this.endpointType = endpointType;
  52.     }
  53.    
  54.     public ConnectionMessage getRequest() {
  55.         return this.request;
  56.     }
  57.     public void setRequest(ConnectionMessage request) {
  58.         this.request = request;
  59.     }
  60.     public ConnectionMessage getResponse() {
  61.         return this.response;
  62.     }
  63.     public void setResponse(ConnectionMessage response) {
  64.         this.response = response;
  65.     }
  66.    
  67.     public String getIdOperation() {
  68.         return this.idOperation;
  69.     }

  70.     public void setIdOperation(String idOperation) {
  71.         this.idOperation = idOperation;
  72.     }
  73. }