public class Link extends Object
| Constructor and Description |
|---|
Link() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getHref()
当前API版本的引用地址。
|
String |
getRel()
当前API版本和被引用地址的关系。
|
String |
getType()
发送的实体的MIME类型,取值为application/json。
|
int |
hashCode() |
void |
setHref(String href) |
void |
setRel(String rel) |
void |
setType(String type) |
String |
toString() |
Link |
withHref(String href) |
Link |
withRel(String rel) |
Link |
withType(String type) |
public String getHref()
public void setHref(String href)
public String getType()
public void setType(String type)
public String getRel()
public void setRel(String rel)
Copyright © 2022. All rights reserved.