All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rs.jerseyclient.data.Link Maven / Gradle / Ivy

The newest version!
package rs.jerseyclient.data;

/**
 * A link as defined by HATEOAS responses.
 * 

The class is usually required for correct JSON (de)serialization.

* @author ralph * */ public class Link { private String href; /** * Default constructor. */ public Link() {} /** * Returns the HREF attribute (URL) of the link. * @return the HREF attribute (URL) of the link. */ public String getHref() { return href; } /** * Sets the HREF attribute (URL) of the link. * @param href the HREF attribute (URL) of the link. */ public void setHref(String href) { this.href = href; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy