<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
| # =================================================================== | |
| # COMMON SPRING BOOT PROPERTIES | |
| # | |
| # This sample file is provided as a guideline. Do NOT copy it in its | |
| # entirety to your own application. ^^^ | |
| # =================================================================== | |
| # ---------------------------------------- | |
| # CORE PROPERTIES | |
| # ---------------------------------------- |
| validate: validate the schema, makes no changes to the database. | |
| update: update the schema. | |
| create: creates the schema, destroying previous data. | |
| create-drop: drop the schema at the end of the session. |
| Status Codes are used by the client application to know the status of a request processing in the server. The status code has 3 digit numbers, where the first digit defines the class of the response. | |
| The Status code are of 5 categories namely: | |
| 1XX – Informational | |
| 2XX – Success | |
| 3XX – Redirection | |
| 4XX – Client Error | |
| 5XX – Server Error | |
| --------------------------------------------------------- | |
| Informational Codes | |
| --------------------------------------------------------- |
| shutdown -r — restarts | |
| shutdown -s — shutsdown | |
| shutdown -l — logoff | |
| shutdown -t xx — where xx is number of seconds to wait till shutdown/restart/logoff | |
| shutdown -i — gives you a dialog box to fill in what function you want to use | |
| shutdown -a — aborts the previous shutdown command....very handy! | |
| Additional options: | |
| -f — force the selected action |
| import java.io.IOException; | |
| import java.nio.file.FileSystems; | |
| import java.nio.file.Path; | |
| import java.nio.file.Paths; | |
| import java.nio.file.StandardWatchEventKinds; | |
| import java.nio.file.WatchEvent; | |
| import java.nio.file.WatchKey; | |
| import java.nio.file.WatchService; | |
| public class App04 { |