Skip to content

Commit 0e4337b

Browse files
committed
more fixes in file ascii
1 parent 02b24f2 commit 0e4337b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

devon4j-http-rest-service/index.asciidoc

-7
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,9 @@ We need to copy them into the project as follows:
5656
[step]
5757
--
5858
createFile("httprestservice/core/src/main/java/com/example/application/httprestservice/visitormanagement/service/impl/rest/VisitormanagementRestServiceImpl.java", "files/VisitormanagementRestServiceImpl.java")
59-
--
60-
====
61-
62-
====
63-
[step]
64-
--
6559
createFile("httprestservice/core/src/main/java/com/example/application/httprestservice/visitormanagement/service/impl/rest/VisitormanagementRestService.java", "files/VisitormanagementRestService.java")
6660
--
6761
====
68-
6962
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).
7063

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

0 commit comments

Comments
 (0)