public class RestConnection extends BaseConnection implements org.teiid.translator.ws.WSConnection
Constructor and Description |
---|
RestConnection(org.springframework.web.client.RestTemplate template,
org.springframework.beans.factory.BeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
<T> Dispatch<T> |
createDispatch(Class<T> type,
Service.Mode mode) |
<T> Dispatch<T> |
createDispatch(String binding,
String endpoint,
Class<T> type,
Service.Mode mode) |
QName |
getPortQName() |
QName |
getServiceQName() |
String |
getStatusMessage(int status) |
URL |
getWsdl() |
public RestConnection(org.springframework.web.client.RestTemplate template, org.springframework.beans.factory.BeanFactory beanFactory)
public <T> Dispatch<T> createDispatch(Class<T> type, Service.Mode mode) throws IOException
createDispatch
in interface org.teiid.translator.ws.WSConnection
IOException
public <T> Dispatch<T> createDispatch(String binding, String endpoint, Class<T> type, Service.Mode mode)
createDispatch
in interface org.teiid.translator.ws.WSConnection
public void close() throws Exception
close
in interface org.teiid.resource.api.Connection
Exception
public URL getWsdl()
getWsdl
in interface org.teiid.translator.ws.WSConnection
public QName getServiceQName()
getServiceQName
in interface org.teiid.translator.ws.WSConnection
public QName getPortQName()
getPortQName
in interface org.teiid.translator.ws.WSConnection
public String getStatusMessage(int status)
getStatusMessage
in interface org.teiid.translator.ws.WSConnection
Copyright © 2019. All rights reserved.