All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.woden.wsdl20.extensions.soap.SOAPBindingExtensions Maven / Gradle / Ivy

/**
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0 
 * 
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
 * See the License for the specific language governing permissions and 
 * limitations under the License.
 */
package org.apache.woden.wsdl20.extensions.soap;

import java.net.URI;

import org.apache.woden.wsdl20.extensions.ComponentExtensionContext;

/**
 * Provides access to the extension properties of the Binding component 
 * that are in the http://www.w3.org/ns/wsdl/soap namespace.
 * These extension properties can be accessed as ExtensionProperty objects 
 * via the getProperties and getProperty methods  
 * using the property names and Java types shown in the following table.
 * 

*

* * * * * * * * * * * * * * * * * * * * *
Property nameJava type
soap versionjava.lang.String
soap underlying protocoljava.net.URI
soap mep defaultjava.net.URI
soap modulesorg.apache.woden.wsdl20.extensions.soap.SOAPModule[]
*

* In addition to the getProperties and getProperty methods, * this interface defines accessor methods specific to each SOAP extension property. * It also provides accessor methods for some additional HTTP extension properties * that are present in a SOAP binding when the underlying protocol is HTTP. *

* These are: *

    *
  • {http query parameter separator default}
  • *
  • {http cookies}
  • *
  • {http content encoding default}
  • *
*

* TODO Re HTTP methods, consider WODEN-158 which proposes keeping extension interfaces namespace-specific, not binding-type-specific * * @author John Kaputin ([email protected]) */ public interface SOAPBindingExtensions extends ComponentExtensionContext { public String getSoapVersion(); public URI getSoapUnderlyingProtocol(); public URI getSoapMepDefault(); public SOAPModule[] getSoapModules(); /** * If the SOAP version is "1.1" or "1.2" and the underlying protocol is HTTP, returns the * {http query parameter separator default} extension property represented by the * whttp:queryParameterSeparatorDefault extension attribute , otherwise null. * * @return String the {http query parameter separator default} extension property */ public String getHttpQueryParameterSeparatorDefault(); /** * If the SOAP version is "1.1" or "1.2" and the underlying protocol is HTTP, returns the * {http cookies} extension property represented by the * whttp:cookies extension attribute , otherwise null. * * @return Boolean the {http cookies} extension property if present, otherwise null */ public Boolean isHttpCookies(); /** * If the SOAP version is "1.1" or "1.2" and the underlying protocol is HTTP, returns the * {http content encoding default} extension property represented by the * whttp:contentEncodingDefault extension attribute , otherwise null. * * @return String the {http content encoding default} extension property */ public String getHttpContentEncodingDefault(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy