Example usage for org.springframework.hateoas Link subclass-usage

List of usage examples for org.springframework.hateoas Link subclass-usage

Introduction

In this page you can find the example usage for org.springframework.hateoas Link subclass-usage.

Usage

From source file org.moserp.common.domain.RestLink.java

public class RestLink extends Link {

    public RestUri toUri() {
        return new RestUri(getHref());
    }
}

From source file de.escalon.hypermedia.spring.Affordance.java

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;

/**

From source file de.escalon.hypermedia.affordance.Affordance.java

/**
 * Represents an http affordance for purposes of a ReST service as described by <a
 * href="http://tools.ietf.org/html/rfc5988">Web Linking rfc-5988</a>. Additionally includes {@link ActionDescriptor}s
 * for http methods and expected request bodies. <p>Also supports templated affordances, in which case it is represented
 * as a <a href="http://tools.ietf.org/html/draft-nottingham-link-template-01">Link-Template Header</a></p> <p>This
 * class can be created manually or via one of the {@link de.escalon.hypermedia.spring.AffordanceBuilder#linkTo}

From source file com.github.hateoas.forms.affordance.Affordance.java

/**
 * Represents an http affordance for purposes of a ReST service as described by <a href="http://tools.ietf.org/html/rfc5988">Web Linking
 * rfc-5988</a>. Additionally includes {@link ActionDescriptor} s for http methods and expected request bodies.
 * <p>
 * Also supports templated affordances, in which case it is represented as a
 * <a href="http://tools.ietf.org/html/draft-nottingham-link-template-01">Link-Template Header</a>

From source file org.springframework.hateoas.hal.LinkMixin.java

/**
 * Custom mixin to avoid rel attributes being rendered for HAL.
 * 
 * @author Alexander Baetz
 * @author Oliver Gierke
 */