HttpSource Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. CopySource - com.
azure. analytics. synapse. artifacts. models. HttpSource
- com.
- com.
public final class HttpSource
extends CopySource
A copy activity source for an HTTP file.
Constructor Summary
| Constructor | Description |
|---|---|
| HttpSource() |
Creates an instance of Http |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Http |
fromJson(JsonReader jsonReader)
Reads an instance of Http |
| Object |
getHttpRequestTimeout()
Get the http |
| String |
getType()
Get the type property: Copy source type. |
|
Http |
setHttpRequestTimeout(Object httpRequestTimeout)
Set the http |
|
Http |
setMaxConcurrentConnections(Object maxConcurrentConnections)
Set the max |
|
Http |
setSourceRetryCount(Object sourceRetryCount)
Set the source |
|
Http |
setSourceRetryWait(Object sourceRetryWait)
Set the source |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from CopySource
Methods inherited from java.lang.Object
Constructor Details
HttpSource
public HttpSource()
Creates an instance of HttpSource class.
Method Details
fromJson
public static HttpSource fromJson(JsonReader jsonReader)
Reads an instance of HttpSource from the JsonReader.
Parameters:
Returns:
Throws:
getHttpRequestTimeout
public Object getHttpRequestTimeout()
Get the httpRequestTimeout property: Specifies the timeout for a HTTP client to get HTTP response from HTTP server. The default value is equivalent to System.Net.HttpWebRequest.Timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
Returns:
getType
public String getType()
Get the type property: Copy source type.
Overrides:
HttpSource.getType()Returns:
setHttpRequestTimeout
public HttpSource setHttpRequestTimeout(Object httpRequestTimeout)
Set the httpRequestTimeout property: Specifies the timeout for a HTTP client to get HTTP response from HTTP server. The default value is equivalent to System.Net.HttpWebRequest.Timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
Parameters:
Returns:
setMaxConcurrentConnections
public HttpSource setMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
Overrides:
HttpSource.setMaxConcurrentConnections(Object maxConcurrentConnections)Parameters:
setSourceRetryCount
public HttpSource setSourceRetryCount(Object sourceRetryCount)
Set the sourceRetryCount property: Source retry count. Type: integer (or Expression with resultType integer).
Overrides:
HttpSource.setSourceRetryCount(Object sourceRetryCount)Parameters:
setSourceRetryWait
public HttpSource setSourceRetryWait(Object sourceRetryWait)
Set the sourceRetryWait property: Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
Overrides:
HttpSource.setSourceRetryWait(Object sourceRetryWait)Parameters:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
HttpSource.toJson(JsonWriter jsonWriter)Parameters:
Throws: