Class WsDtoLink

  • All Implemented Interfaces:
    java.io.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​(java.lang.Object obj)  
      java.lang.String getAction()  
      int hashCode()  
      • Methods inherited from class org.springframework.hateoas.Link

        canEqual, expand, expand, getDeprecation, getHref, getHreflang, getMedia, getRel, getTemplate, getTitle, getType, getVariableNames, getVariables, isTemplated, toString, valueOf, withDeprecation, withHref, withHreflang, withMedia, withRel, withSelfRel, withTitle, withType
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • WsDtoLink

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

      • getAction

        public java.lang.String getAction()
      • hashCode

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

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