FaultBuilderConfig.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.message.config;

  21. import javax.xml.namespace.QName;

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

  31.     private Integer httpReturnCode;
  32.     private Integer govwayReturnCode;
  33.    
  34.     private boolean rfc7807Type = true;
  35.     private String rfc7807WebSite;
  36.     private String rfc7807Title;
  37.     private String rfc7807GovWayTypeHeaderErrorTypeName;
  38.     private String rfc7807GovWayTypeHeaderErrorTypeValue;
  39.    
  40.     private String actor;
  41.     private String prefixSoap;
  42.    
  43.     private QName errorCode;
  44.    
  45.     private String headerErrorTypeName;
  46.     private String headerErrorTypeValue;
  47.    
  48.     private String details;
  49.    
  50.     public boolean isRfc7807Type() {
  51.         return this.rfc7807Type;
  52.     }
  53.     public void setRfc7807Type(boolean rfc7807type) {
  54.         this.rfc7807Type = rfc7807type;
  55.     }
  56.     public String getRfc7807WebSite() {
  57.         return this.rfc7807WebSite;
  58.     }
  59.     public void setRfc7807WebSite(String rfc7807WebSite) {
  60.         this.rfc7807WebSite = rfc7807WebSite;
  61.     }
  62.     public String getRfc7807Title() {
  63.         return this.rfc7807Title;
  64.     }
  65.     public void setRfc7807Title(String rfc7807Title) {
  66.         this.rfc7807Title = rfc7807Title;
  67.     }
  68.     public String getRfc7807GovWayTypeHeaderErrorTypeName() {
  69.         return this.rfc7807GovWayTypeHeaderErrorTypeName;
  70.     }
  71.     public void setRfc7807GovWayTypeHeaderErrorTypeName(String rfc7807GovWayTypeHeaderErrorTypeName) {
  72.         this.rfc7807GovWayTypeHeaderErrorTypeName = rfc7807GovWayTypeHeaderErrorTypeName;
  73.     }
  74.     public String getRfc7807GovWayTypeHeaderErrorTypeValue() {
  75.         return this.rfc7807GovWayTypeHeaderErrorTypeValue;
  76.     }
  77.     public void setRfc7807GovWayTypeHeaderErrorTypeValue(String rfc7807GovWayTypeHeaderErrorTypeValue) {
  78.         this.rfc7807GovWayTypeHeaderErrorTypeValue = rfc7807GovWayTypeHeaderErrorTypeValue;
  79.     }
  80.    
  81.     public String getActor() {
  82.         return this.actor;
  83.     }
  84.     public void setActor(String actor) {
  85.         this.actor = actor;
  86.     }
  87.     public String getPrefixSoap() {
  88.         return this.prefixSoap;
  89.     }
  90.     public void setPrefixSoap(String prefixSoap) {
  91.         this.prefixSoap = prefixSoap;
  92.     }
  93.     public QName getErrorCode() {
  94.         return this.errorCode;
  95.     }
  96.     public void setErrorCode(QName errorCode) {
  97.         this.errorCode = errorCode;
  98.     }
  99.     public Integer getHttpReturnCode() {
  100.         return this.httpReturnCode;
  101.     }
  102.     public void setHttpReturnCode(Integer httpReturnCode) {
  103.         this.httpReturnCode = httpReturnCode;
  104.     }
  105.     public Integer getGovwayReturnCode() {
  106.         return this.govwayReturnCode;
  107.     }
  108.     public void setGovwayReturnCode(Integer govwayReturnCode) {
  109.         this.govwayReturnCode = govwayReturnCode;
  110.     }

  111.     public String getHeaderErrorTypeName() {
  112.         return this.headerErrorTypeName;
  113.     }
  114.     public void setHeaderErrorTypeName(String headerErrorTypeName) {
  115.         this.headerErrorTypeName = headerErrorTypeName;
  116.     }
  117.     public String getHeaderErrorTypeValue() {
  118.         return this.headerErrorTypeValue;
  119.     }
  120.     public void setHeaderErrorTypeValue(String headerErrorTypeValue) {
  121.         this.headerErrorTypeValue = headerErrorTypeValue;
  122.     }
  123.    
  124.     public String getDetails() {
  125.         return this.details;
  126.     }
  127.     public void setDetails(String details) {
  128.         this.details = details;
  129.     }
  130. }