Class WsDtoLink

  • All Implemented Interfaces:
    Serializable

    public class WsDtoLink
    extends org.springframework.hateoas.Link
    See https://stackoverflow.com/questions/49615358/spring-hateoas-controllerlinkbuilder-adds-null-fields
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.springframework.hateoas.Link

        ATOM_NAMESPACE, REL_FIRST, REL_LAST, REL_NEXT, REL_PREVIOUS, REL_SELF
    • Constructor Summary

      Constructors 
      Constructor Description
      WsDtoLink​(org.springframework.hateoas.Link link, org.springframework.web.bind.annotation.RequestMethod method)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(Object obj)  
      String getAction()  
      int hashCode()  
      • Methods inherited from class org.springframework.hateoas.Link

        andAffordance, andAffordances, canEqual, expand, expand, getAffordances, getDeprecation, getHref, getHreflang, getMedia, getName, getProfile, getRel, getTemplate, getTitle, getType, getVariableNames, getVariables, hasRel, hasRel, isTemplated, toString, toUri, valueOf, withAffordances, withDeprecation, withHref, withHreflang, withMedia, withName, withProfile, withRel, withRel, withSelfRel, withTitle, withType
    • Constructor Detail

      • WsDtoLink

        public WsDtoLink​(org.springframework.hateoas.Link link,
                         org.springframework.web.bind.annotation.RequestMethod method)
    • Method Detail

      • getAction

        public String getAction()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class org.springframework.hateoas.Link
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class org.springframework.hateoas.Link