public class SoapSession extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close session on webPDF server.
|
@Nullable org.apache.http.auth.Credentials |
getCredentials()
Returns the
Credentials authorizing this session. |
@Nullable DataFormat |
getDataFormat()
Returns the
DataFormat accepted by this session. |
@Nullable ProxyConfiguration |
getProxy()
Returns the currently set
ProxyConfiguration. |
@Nullable TLSContext |
getTlsContext()
Returns the currently set TLS context.
|
@NotNull URI |
getURI(@NotNull String subPath)
Returns an
URI pointing to the webservice interface of the session. |
@NotNull URI |
getURI(@NotNull String subPath,
List<org.apache.http.NameValuePair> parameters)
Returns an
URI pointing to the webservice interface of the session. |
@NotNull WebServiceProtocol |
getWebServiceProtocol()
Returns the
WebServiceProtocol this session is using. |
boolean |
isUseLocalWsdl()
When returning true, a wsdl stored on the local file system shall be used instead of the WSDL published by the
server.
|
void |
setCredentials(@Nullable org.apache.http.auth.Credentials credentials)
Sets the
Credentials authorizing this session. |
void |
setProxy(@Nullable ProxyConfiguration proxy)
Set a
ProxyConfiguration. |
public void setProxy(@Nullable
@Nullable ProxyConfiguration proxy)
throws ResultException
ProxyConfiguration.setProxy in interface Sessionproxy - The ProxyConfiguration, that shall be set.ResultException - Shall be thrown, when resolving the proxy failed.public void close()
public boolean isUseLocalWsdl()
@Nullable public @Nullable TLSContext getTlsContext()
getTlsContext in interface Session@Nullable public @Nullable ProxyConfiguration getProxy()
ProxyConfiguration.getProxy in interface SessionProxyConfiguration.@NotNull public @NotNull WebServiceProtocol getWebServiceProtocol()
WebServiceProtocol this session is using.getWebServiceProtocol in interface SessionWebServiceProtocol this session is using.@NotNull public @NotNull URI getURI(@NotNull @NotNull String subPath) throws ResultException
URI pointing to the webservice interface of the session.getURI in interface SessionsubPath - The location of the webservice interface on the webPDF server.URI pointing to the webservice interface of the session.ResultException - a ResultException@NotNull public @NotNull URI getURI(@NotNull @NotNull String subPath, List<org.apache.http.NameValuePair> parameters) throws ResultException
URI pointing to the webservice interface of the session.subPath - The location of the webservice interface on the webPDF server.parameters - Additional Get parameters.URI pointing to the webservice interface of the session.ResultException - a ResultException@Nullable public @Nullable org.apache.http.auth.Credentials getCredentials()
Credentials authorizing this session.getCredentials in interface SessionCredentials authorizing this session.public void setCredentials(@Nullable
@Nullable org.apache.http.auth.Credentials credentials)
Credentials authorizing this session.setCredentials in interface Sessioncredentials - The Credentials authorizing this session.@Nullable public @Nullable DataFormat getDataFormat()
DataFormat accepted by this session.getDataFormat in interface SessionDataFormat accepted by this session.Copyright © 2017–2023 SoftVision Development GmbH, Fulda, Germany. All rights reserved.