{"id":36414817,"url":"https://github.com/hdpe/bowman","last_synced_at":"2026-01-17T04:03:49.787Z","repository":{"id":43534738,"uuid":"67053037","full_name":"hdpe/bowman","owner":"hdpe","description":"A Java library for accessing a JSON+HAL REST API","archived":false,"fork":false,"pushed_at":"2024-10-04T20:27:19.000Z","size":997,"stargazers_count":47,"open_issues_count":8,"forks_count":18,"subscribers_count":10,"default_branch":"main","last_synced_at":"2026-01-14T01:47:00.834Z","etag":null,"topics":["hal","rest-client","spring-data-rest"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hdpe.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-08-31T16:04:52.000Z","updated_at":"2025-08-27T01:59:04.000Z","dependencies_parsed_at":"2022-08-23T10:41:05.729Z","dependency_job_id":"2efdfca7-e5c2-4731-924a-8cab11a67e41","html_url":"https://github.com/hdpe/bowman","commit_stats":null,"previous_names":["blackpeppersoftware/hal-client","blackpeppersoftware/bowman"],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/hdpe/bowman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hdpe%2Fbowman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hdpe%2Fbowman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hdpe%2Fbowman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hdpe%2Fbowman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hdpe","download_url":"https://codeload.github.com/hdpe/bowman/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hdpe%2Fbowman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28494182,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T02:39:23.645Z","status":"ssl_error","status_checked_at":"2026-01-17T02:34:19.649Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hal","rest-client","spring-data-rest"],"created_at":"2026-01-11T16:57:07.210Z","updated_at":"2026-01-17T04:03:49.775Z","avatar_url":"https://github.com/hdpe.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Bowman\n\nimage:https://github.com/hdpe/bowman/actions/workflows/build.yml/badge.svg?branch=main[title=Build Status,link=https://github.com/hdpe/bowman/actions?query=branch%3Amain]\nimage:https://coveralls.io/repos/github/hdpe/bowman/badge.svg?branch=main[title=Coverage Status,link=https://coveralls.io/github/hdpe/bowman?branch=main]\nimage:https://img.shields.io/maven-central/v/me.hdpe.bowman/bowman-client.svg[title=Maven Central,link=https://search.maven.org/#search%7Cga%7C1%7Ca%3Abowman-client]\n\nBowman is a Java library for accessing a http://stateless.co/hal_specification.html[JSON+HAL] REST API.\n\n== Documentation\n\n* https://hdpe.github.io/bowman/latest/reference/[Reference Documentation]\n* https://hdpe.github.io/bowman/latest/apidocs/[Javadoc]\n\n== Features\n\n* *Simplified API consumption* via automatic, *lazy link traversal* on an *annotated client-side model*\n* Tailor made for *https://projects.spring.io/spring-data-rest/[Spring Data REST]*\n* *Analogous interface* to JPA\n* *RESTful CRUD* and *templated link query* support\n* *Polymorphic* deserialisation\n\nStanding on the shoulders of http://projects.spring.io/spring-hateoas/[Spring HATEOAS] and https://github.com/FasterXML/jackson[Jackson].\n\n== Usage Example\n\nGiven the following annotated model objects:\n\n[source,java]\n----\n@RemoteResource(\"/people\")\npublic class Person {\n\n  private URI id;\n  private String name;\n\n  public Person() {}\n  public Person(String name) { this.name = name; }\n\n  @ResourceId public URI getId() { return id; }\n  public String getName() { return name; }\n}\n----\n\nand\n\n[source,java]\n----\n@RemoteResource(\"/greetings\")\npublic class Greeting {\n\n  private URI id;\n  private Person recipient;\n  private String message;\n\n  public Greeting() {}\n  public Greeting(String message, Person recipient)\n    { this.message = message; this.recipient = recipient; }\n\n  @ResourceId public URI getId() { return id; }\n  @LinkedResource public Person getRecipient() { return recipient; }\n  public String getMessage() { return message; }\n}\n----\n\nClient instances can be constructed and used as demonstrated below.\n\nThe HTTP requests/responses corresponding to each instruction are shown in a comment\nbeneath.\n\n[source,java]\n----\nClientFactory factory = Configuration.builder().setBaseUri(\"http://...\").build()\n    .buildClientFactory();\n\nClient\u003cPerson\u003e people = factory.create(Person.class);\nClient\u003cGreeting\u003e greetings = factory.create(Greeting.class);\n\nURI id = people.post(new Person(\"Bob\"));\n// POST /people {\"name\": \"Bob\"}\n//  -\u003e Location: http://.../people/1\n\nPerson recipient = people.get(id);\n// GET /people/1\n//  -\u003e {\"name\": \"Bob\", \"_links\": {\"self\": {\"href\": \"http://.../people/1\"}}}\n\nassertThat(recipient.getName(), is(\"Bob\"));\n\nid = greetings.post(new Greeting(\"hello\", recipient));\n// POST /greetings {\"message\": \"hello\", \"recipient\": \"http://.../people/1\"}}\n//  -\u003e Location: http://.../greetings/1\n\nGreeting greeting = greetings.get(id);\n// GET /greetings/1\n//  -\u003e {\"message\": \"hello\", \"_links\": {\"self\": {\"href\": \"http://.../greetings/1\"},\n// \t\t\t\"recipient\": {\"href\": \"http://.../people/1\"}}}\n\nassertThat(greeting.getMessage(), is(\"hello\"));\n\nrecipient = greeting.getRecipient();\n// GET /people/1\n//  -\u003e {\"name\": \"Bob\", \"_links\": {\"self\": {\"href\": {\"http://.../people/1\"}}}\n\nassertThat(recipient.getName(), is(\"Bob\"));\n----\n\n== Contributing\n\n* link:./development.adoc[Development Guide]\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhdpe%2Fbowman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhdpe%2Fbowman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhdpe%2Fbowman/lists"}