spring-hateoas-ext/src/main/java/de/escalon/hypermedia/affordance/Affordance.java
public void setMedia(String mediaDesc) {
        if (mediaDesc != null)
            linkParams.set(MEDIA.paramName, mediaDesc);
        else
            linkParams.remove(MEDIA.paramName);
    }
public void setMedia(String mediaDesc) {
        if (mediaDesc != null)
            linkParams.set(MEDIA.paramName, mediaDesc);
        else
            linkParams.remove(MEDIA.paramName);
    }
public void setMedia ( String mediaDesc ) { if ( mediaDesc != null ) linkParams . set ( MEDIA . paramName , mediaDesc ) ; else linkParams . remove ( MEDIA . paramName ) ; }
The "media" parameter, when present, is used to indicate intended destination medium or media for style
information (see [W3C.REC-html401-19991224], Section 6.13).  Note that this may be updated by
[W3C.CR-css3-mediaqueries-20090915]).  Its value MUST be quoted if it contains a semicolon (";") or comma (","),
and there MUST NOT be more than one "media" parameter in a link-value.

@param mediaDesc to set
The media parameter when present is used to indicate intended destination medium or media for style information ( see [ W3C . REC - html401 - 19991224 ] Section 6 . 13 ) . Note that this may be updated by [ W3C . CR - css3 - mediaqueries - 20090915 ] ) . Its value MUST be quoted if it contains a semicolon ( ; ) or comma ( ) and there MUST NOT be more than one media parameter in a link - value .