public String renderLinkRelationHtml(io.wcm.caravan.hal.docs.impl.model.Service service, LinkRelation linkRelation)
      throws IOException {
    Map<String, Object> model = ImmutableMap.<String, Object>builder()
        .put("service", service)
        .put("linkRelation", linkRelation)
        .build();
    return render(service, model, linkRelationTemplate);
  }
public String renderLinkRelationHtml ( io . wcm . caravan . hal . docs . impl . model . Service service , LinkRelation linkRelation ) throws IOException { Map < String , Object > model = ImmutableMap . < String , Object > builder ( ) . put ( "service" , service ) . put ( "linkRelation" , linkRelation ) . build ( ) ; return render ( service , model , linkRelationTemplate ) ; }
Generate HTML file for link relation.
@param service Service
@param linkRelation Link relation
@return Rendered markup
@throws IOException