Link Class
- java.
lang. Object - com.
microsoft. store. partnercenter. models. Link
- com.
public class Link
Link represents a URI and the HTTP method which indicates the desired action for accessing the resource.
Constructor Summary
Constructor | Description | |
---|---|---|
Link() | ||
Link(URI uri) |
Initializes a new instance of the Link class. |
|
Link(URI uri, String string) | ||
Link(URI uri, String method, Collection<KeyValuePair<String,String>> headers) |
Initializes a new instance of the Link class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Key |
getHeaders() |
java.lang.String | getMethod() |
java.net.URI | getUri() |
void | setHeaders(Collection<KeyValuePair<String,String>> value) |
void | setMethod(String value) |
void | setUri(URI value) |
Inherited Members
Constructor Details
Link
public Link()
Link
public Link(URI uri)
Initializes a new instance of the Link class.
Parameters:
Link
public Link(URI uri, String string)
Parameters:
Link
public Link(URI uri, String method, Collection
Initializes a new instance of the Link class.
Parameters:
Method Details
getHeaders
public Collection
getMethod
public String getMethod()
getUri
public URI getUri()
setHeaders
public void setHeaders(Collection
Parameters:
setMethod
public void setMethod(String value)
Parameters:
setUri
public void setUri(URI value)
Parameters: