首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > siren4j

siren4j

  • 资源大小:89.48 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

FYI: We are currently in the process of moving to GitHub Our new home will be located at: https://github.com/eserating/siren4j Current Release is [Siren4J-1.1.3](https://code.google.com/p/siren4j/wiki/CurrentRelease) This is a java library to help with the creation and use of Hypermedia entities as specified by the Siren hypermedia specification. See https://github.com/kevinswiber/siren for more detail on the specification. It contains classes to that represent the Siren components (Entity, Link, Action, Field). See: https://code.google.com/p/siren4j/wiki/Siren4JComponents These can be easily built with a fluent builder API. ``` EXAMPLE BUILDER: // Create a new self Link Link selfLink = LinkBuilder.newInstance() .setRelationship(Link.RELATIONSHIP_SELF) .setHref("/self/link") .build(); // Create a new Entity Entity result = EntityBuilder.newInstance() .setEntityClass(&
VIP VIP
0.197235s