HttpServerLocation Class

public final class HttpServerLocation
extends DatasetLocation

The location of http server.

Constructor Summary

Constructor Description
HttpServerLocation()

Creates an instance of HttpServerLocation class.

Method Summary

Modifier and Type Method and Description
static HttpServerLocation fromJson(JsonReader jsonReader)

Reads an instance of HttpServerLocation from the JsonReader.

Object getRelativeUrl()

Get the relativeUrl property: Specify the relativeUrl of http server.

String getType()

Get the type property: Type of dataset storage location.

HttpServerLocation setFileName(Object fileName)

Set the fileName property: Specify the file name of dataset.

HttpServerLocation setFolderPath(Object folderPath)

Set the folderPath property: Specify the folder path of dataset.

HttpServerLocation setRelativeUrl(Object relativeUrl)

Set the relativeUrl property: Specify the relativeUrl of http server.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from DatasetLocation

Methods inherited from java.lang.Object

Constructor Details

HttpServerLocation

public HttpServerLocation()

Creates an instance of HttpServerLocation class.

Method Details

fromJson

public static HttpServerLocation fromJson(JsonReader jsonReader)

Reads an instance of HttpServerLocation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of HttpServerLocation if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the HttpServerLocation.

getRelativeUrl

public Object getRelativeUrl()

Get the relativeUrl property: Specify the relativeUrl of http server. Type: string (or Expression with resultType string).

Returns:

the relativeUrl value.

getType

public String getType()

Get the type property: Type of dataset storage location.

Overrides:

HttpServerLocation.getType()

Returns:

the type value.

setFileName

public HttpServerLocation setFileName(Object fileName)

Set the fileName property: Specify the file name of dataset. Type: string (or Expression with resultType string).

Overrides:

HttpServerLocation.setFileName(Object fileName)

Parameters:

fileName

setFolderPath

public HttpServerLocation setFolderPath(Object folderPath)

Set the folderPath property: Specify the folder path of dataset. Type: string (or Expression with resultType string).

Overrides:

HttpServerLocation.setFolderPath(Object folderPath)

Parameters:

folderPath

setRelativeUrl

public HttpServerLocation setRelativeUrl(Object relativeUrl)

Set the relativeUrl property: Specify the relativeUrl of http server. Type: string (or Expression with resultType string).

Parameters:

relativeUrl - the relativeUrl value to set.

Returns:

the HttpServerLocation object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

HttpServerLocation.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to