public final class SessionFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T extends Session> |
createInstance(WebServiceProtocol webServiceProtocol,
URL url)
Creates a session based on the given
WebServiceProtocol to the server at the given URL. |
static <T extends Session> |
createInstance(WebServiceProtocol webServiceProtocol,
URL url,
TLSContext tlsContext)
Creates a session based on the given
WebServiceProtocol to the server at the given URL. |
public static <T extends Session> T createInstance(WebServiceProtocol webServiceProtocol, URL url) throws ResultException
WebServiceProtocol to the server at the given URL.T - The type of the produced Session.webServiceProtocol - The WebServiceProtocol used to communicate with the server.url - The URL of the server.Session organizing the communication with the server at the given URL.ResultException - a ResultExceptionpublic static <T extends Session> T createInstance(WebServiceProtocol webServiceProtocol, URL url, TLSContext tlsContext) throws ResultException
WebServiceProtocol to the server at the given URL.T - The type of the produced Session.webServiceProtocol - The WebServiceProtocol used to communicate with the server.url - The URL of the server.tlsContext - Container configuring a https session.Session organizing the communication with the server at the given URL.ResultException - a ResultExceptionCopyright © 2017–2019 SoftVision Development GmbH, Fulda, Germany. All rights reserved.