TransportRequestContext.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.context;

  21. import javax.xml.bind.annotation.XmlAccessType;
  22. import javax.xml.bind.annotation.XmlAccessorType;
  23. import javax.xml.bind.annotation.XmlElement;
  24. import javax.xml.bind.annotation.XmlRootElement;
  25. import javax.xml.bind.annotation.XmlType;
  26. import java.io.Serializable;


  27. /** <p>Java class for transport-request-context complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType name="transport-request-context"&gt;
  33.  *      &lt;sequence&gt;
  34.  *          &lt;element name="url-parameters" type="{http://www.openspcoop2.org/message/context}url-parameters" minOccurs="0" maxOccurs="1"/&gt;
  35.  *          &lt;element name="header-parameters" type="{http://www.openspcoop2.org/message/context}header-parameters" minOccurs="0" maxOccurs="1"/&gt;
  36.  *          &lt;element name="credentials" type="{http://www.openspcoop2.org/message/context}credentials" minOccurs="0" maxOccurs="1"/&gt;
  37.  *          &lt;element name="web-context" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  38.  *          &lt;element name="request-uri" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  39.  *          &lt;element name="request-type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  40.  *          &lt;element name="source" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  41.  *          &lt;element name="protocol-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  42.  *          &lt;element name="protocol-web-context" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  43.  *          &lt;element name="function" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  44.  *          &lt;element name="function-parameters" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  45.  *          &lt;element name="interface-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  46.  *      &lt;/sequence&gt;
  47.  * &lt;/complexType&gt;
  48.  * </pre>
  49.  *
  50.  * @version $Rev$, $Date$
  51.  *
  52.  * @author Poli Andrea (poli@link.it)
  53.  * @author $Author$
  54.  * */

  55. @XmlAccessorType(XmlAccessType.FIELD)
  56. @XmlType(name = "transport-request-context",
  57.   propOrder = {
  58.     "urlParameters",
  59.     "headerParameters",
  60.     "credentials",
  61.     "webContext",
  62.     "requestUri",
  63.     "requestType",
  64.     "source",
  65.     "protocolName",
  66.     "protocolWebContext",
  67.     "function",
  68.     "functionParameters",
  69.     "interfaceName"
  70.   }
  71. )

  72. @XmlRootElement(name = "transport-request-context")

  73. public class TransportRequestContext extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  74.   public TransportRequestContext() {
  75.     super();
  76.   }

  77.   public UrlParameters getUrlParameters() {
  78.     return this.urlParameters;
  79.   }

  80.   public void setUrlParameters(UrlParameters urlParameters) {
  81.     this.urlParameters = urlParameters;
  82.   }

  83.   public HeaderParameters getHeaderParameters() {
  84.     return this.headerParameters;
  85.   }

  86.   public void setHeaderParameters(HeaderParameters headerParameters) {
  87.     this.headerParameters = headerParameters;
  88.   }

  89.   public Credentials getCredentials() {
  90.     return this.credentials;
  91.   }

  92.   public void setCredentials(Credentials credentials) {
  93.     this.credentials = credentials;
  94.   }

  95.   public java.lang.String getWebContext() {
  96.     return this.webContext;
  97.   }

  98.   public void setWebContext(java.lang.String webContext) {
  99.     this.webContext = webContext;
  100.   }

  101.   public java.lang.String getRequestUri() {
  102.     return this.requestUri;
  103.   }

  104.   public void setRequestUri(java.lang.String requestUri) {
  105.     this.requestUri = requestUri;
  106.   }

  107.   public java.lang.String getRequestType() {
  108.     return this.requestType;
  109.   }

  110.   public void setRequestType(java.lang.String requestType) {
  111.     this.requestType = requestType;
  112.   }

  113.   public java.lang.String getSource() {
  114.     return this.source;
  115.   }

  116.   public void setSource(java.lang.String source) {
  117.     this.source = source;
  118.   }

  119.   public java.lang.String getProtocolName() {
  120.     return this.protocolName;
  121.   }

  122.   public void setProtocolName(java.lang.String protocolName) {
  123.     this.protocolName = protocolName;
  124.   }

  125.   public java.lang.String getProtocolWebContext() {
  126.     return this.protocolWebContext;
  127.   }

  128.   public void setProtocolWebContext(java.lang.String protocolWebContext) {
  129.     this.protocolWebContext = protocolWebContext;
  130.   }

  131.   public java.lang.String getFunction() {
  132.     return this.function;
  133.   }

  134.   public void setFunction(java.lang.String function) {
  135.     this.function = function;
  136.   }

  137.   public java.lang.String getFunctionParameters() {
  138.     return this.functionParameters;
  139.   }

  140.   public void setFunctionParameters(java.lang.String functionParameters) {
  141.     this.functionParameters = functionParameters;
  142.   }

  143.   public java.lang.String getInterfaceName() {
  144.     return this.interfaceName;
  145.   }

  146.   public void setInterfaceName(java.lang.String interfaceName) {
  147.     this.interfaceName = interfaceName;
  148.   }

  149.   private static final long serialVersionUID = 1L;



  150.   @XmlElement(name="url-parameters",required=false,nillable=false)
  151.   protected UrlParameters urlParameters;

  152.   @XmlElement(name="header-parameters",required=false,nillable=false)
  153.   protected HeaderParameters headerParameters;

  154.   @XmlElement(name="credentials",required=false,nillable=false)
  155.   protected Credentials credentials;

  156.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  157.   @XmlElement(name="web-context",required=false,nillable=false)
  158.   protected java.lang.String webContext;

  159.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  160.   @XmlElement(name="request-uri",required=false,nillable=false)
  161.   protected java.lang.String requestUri;

  162.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  163.   @XmlElement(name="request-type",required=false,nillable=false)
  164.   protected java.lang.String requestType;

  165.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  166.   @XmlElement(name="source",required=false,nillable=false)
  167.   protected java.lang.String source;

  168.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  169.   @XmlElement(name="protocol-name",required=false,nillable=false)
  170.   protected java.lang.String protocolName;

  171.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  172.   @XmlElement(name="protocol-web-context",required=false,nillable=false)
  173.   protected java.lang.String protocolWebContext;

  174.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  175.   @XmlElement(name="function",required=false,nillable=false)
  176.   protected java.lang.String function;

  177.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  178.   @XmlElement(name="function-parameters",required=false,nillable=false)
  179.   protected java.lang.String functionParameters;

  180.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  181.   @XmlElement(name="interface-name",required=false,nillable=false)
  182.   protected java.lang.String interfaceName;

  183. }