Package org.opensaml.soap.client
Class SOAPClientContext
java.lang.Object
org.opensaml.messaging.context.BaseContext
org.opensaml.soap.client.SOAPClientContext
- All Implemented Interfaces:
Iterable<BaseContext>
public final class SOAPClientContext extends BaseContext
Message context for SOAP client messages.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator
-
Field Summary
Fields Modifier and Type Field Description private String
destinationURI
The destination URI for the SOAP message being sent.private String
pipelineName
Name of the specific SOAP client pipeline to use, for example withPipelineFactoryHttpSOAPClient
.private SOAPClient.SOAPRequestParameters
requestParameters
Binding/transport-specific SOAP request parameters. -
Constructor Summary
Constructors Constructor Description SOAPClientContext()
-
Method Summary
Modifier and Type Method Description String
getDestinationURI()
Get the the destination URI for the SOAP message being sent.String
getPipelineName()
Get the name of the specific SOAP client message pipeline to use, for example withPipelineFactoryHttpSOAPClient
.SOAPClient.SOAPRequestParameters
getSOAPRequestParameters()
Gets a set of binding/transport-specific request parameters.void
setDestinationURI(String uri)
Set the destination URI for the SOAP message being sent.void
setPipelineName(String name)
Set the name of the specific SOAP client message pipeline to use, for example withPipelineFactoryHttpSOAPClient
.void
setSOAPRequestParameters(SOAPClient.SOAPRequestParameters parameters)
Sets a set of binding/transport-specific request parameters.Methods inherited from class org.opensaml.messaging.context.BaseContext
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, iterator, removeSubcontext, removeSubcontext, setParent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
requestParameters
Binding/transport-specific SOAP request parameters. -
pipelineName
Name of the specific SOAP client pipeline to use, for example withPipelineFactoryHttpSOAPClient
. -
destinationURI
The destination URI for the SOAP message being sent.
-
-
Constructor Details
-
SOAPClientContext
public SOAPClientContext()
-
-
Method Details
-
getSOAPRequestParameters
Gets a set of binding/transport-specific request parameters.- Returns:
- set of binding/transport-specific request parameters
-
setSOAPRequestParameters
Sets a set of binding/transport-specific request parameters.- Parameters:
parameters
- a set of binding/transport-specific request parameters
-
getPipelineName
Get the name of the specific SOAP client message pipeline to use, for example withPipelineFactoryHttpSOAPClient
.- Returns:
- the pipeline name, or null
-
setPipelineName
Set the name of the specific SOAP client message pipeline to use, for example withPipelineFactoryHttpSOAPClient
.- Parameters:
name
- the pipeline name, or null
-
getDestinationURI
Get the the destination URI for the SOAP message being sent.- Returns:
- the destination URI, or null
-
setDestinationURI
Set the destination URI for the SOAP message being sent.- Parameters:
uri
- the destination URI, or null
-