Skip to content

Commit 02b24f2

Browse files
committed
Fixed missing file
1 parent e952925 commit 02b24f2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

devon4j-http-rest-service/index.asciidoc

+7
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@ createFile("httprestservice/core/src/main/java/com/example/application/httprests
5959
--
6060
====
6161

62+
====
63+
[step]
64+
--
65+
createFile("httprestservice/core/src/main/java/com/example/application/httprestservice/visitormanagement/service/impl/rest/VisitormanagementRestService.java", "files/VisitormanagementRestService.java")
66+
--
67+
====
68+
6269
Here , you can see "VisitormanagementRestServiceImpl.java" is annotated with @Named to make it a spring-bean. To get return response to client "returnResponseToClient()" can be accessed via HTTP GET under the URL path "/visitormanagement/v1/clientrequest". It will return its result (String) as JSON (see @Produces in VisitormanagementRestService).
6370

6471
Then, we can launch the application and do GET requests.

0 commit comments

Comments
 (0)