ConnectorCostanti.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.services.connector;

  21. /**
  22.  * ConnectorCostanti
  23.  *
  24.  * @author Poli Andrea (apoli@link.it)
  25.  * @author $Author$
  26.  * @version $Rev$, $Date$
  27.  */
  28. public class ConnectorCostanti {

  29.     public static final String SEPARATOR_CODE = "-";
  30.    
  31.     public static final String KEYWORD_METHOD_HTTP = "@METHOD@";
  32.     public static final String MESSAGE_METHOD_HTTP_NOT_SUPPORTED = "Method HTTP "+KEYWORD_METHOD_HTTP+" non supportato";
  33.    
  34.     public static final String KEYWORD_SERVICE_BINDING = "@SERVICE_BINDING@";
  35.     public static final String MESSAGE_SERVICE_BINDING_NOT_SUPPORTED = "ServiceBinding "+KEYWORD_SERVICE_BINDING+" non supportato";

  36.     // ID: 7 cifre (parlante)
  37.     public static final String ID_ERRORE_GENERICO = "0000000";
  38.     // Altri codici definiti in org.openspcoop2.protocol.engine.constants.IDService
  39.    
  40.    
  41.     // CODE: 4 cifre
  42.    
  43.     public static final String GOVWAY_NOT_INITIALIZED = "9999";
  44.    
  45.     public static final String CODE_PROTOCOL_NOT_SUPPORTED = "0001";
  46.    
  47.     public static final String CODE_HTTP_METHOD_GET_UNSUPPORTED = "0011";
  48.     public static final String CODE_HTTP_METHOD_POST_UNSUPPORTED = "0012";
  49.     public static final String CODE_HTTP_METHOD_PUT_UNSUPPORTED = "0013";
  50.     public static final String CODE_HTTP_METHOD_HEAD_UNSUPPORTED = "0014";
  51.     public static final String CODE_HTTP_METHOD_DELETE_UNSUPPORTED = "0015";
  52.     public static final String CODE_HTTP_METHOD_OPTIONS_UNSUPPORTED = "0016";
  53.     public static final String CODE_HTTP_METHOD_TRACE_UNSUPPORTED = "0017";
  54.     public static final String CODE_HTTP_METHOD_PATCH_UNSUPPORTED = "0018";
  55.     public static final String CODE_HTTP_METHOD_LINK_UNSUPPORTED = "0019";
  56.     public static final String CODE_HTTP_METHOD_UNLINK_UNSUPPORTED = "0020";
  57.    
  58.     public static final String CODE_WSDL_UNSUPPORTED = "0021";
  59.     public static final String CODE_WSDL_NOT_DEFINED = "0022";
  60.    
  61.     public static final String CODE_ENGINE_FILTER = "0031";

  62.     public static final String CODE_FUNCTION_UNSUPPORTED = "0041";
  63.    
  64.     public static final String CODE_SERVICE_BINDING_SOAP_UNSUPPORTED = "0051";
  65.     public static final String CODE_SERVICE_BINDING_REST_UNSUPPORTED = "0052";
  66.    
  67. }