org.apache.woden.wsdl20.extensions.soap.SOAPBindingMessageReferenceExtensions 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 org.apache.woden.wsdl20.extensions.ComponentExtensionContext;
import org.apache.woden.wsdl20.extensions.http.HTTPHeader;
/**
* Provides access to the extension properties of the Binding Message Reference 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 name
* Java type
*
*
* soap modules
* org.apache.woden.wsdl20.extensions.soap.SOAPModule[]
*
*
* soap headers
* org.apache.woden.wsdl20.extensions.soap.SOAPHeaderBlock[]
*
*
*
* 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 content encoding}
* - {http headers}
*
*
* 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 SOAPBindingMessageReferenceExtensions extends ComponentExtensionContext
{
public SOAPModule[] getSoapModules();
public SOAPHeaderBlock[] getSoapHeaders();
/**
* @return String the {http content encoding} property, represented by the whttp:contentEncoding extension attribute
*/
public String getHttpContentEncoding();
/**
* @return HTTPHeader[] the {http headers} property, represented by an array of
* HTTPHeader extension components, which map to whttp:header elements.
*/
public HTTPHeader[] getHttpHeaders();
}