In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning. Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Let's create the first web page as index.html inside the src/main/resources/templates directory" A block of code is set as follows:
public class Entry {
private String value;
public Entry(String value)
{ this.value = value; }
public String getValue()
{ return value; }
}
Any command-line input or output is written as follows:
curl -X POST --user clientapp:123456 http://localhost:8080/oauth/token
-H "content-type: application/x-www-form-urlencoded"
-d "code=5sPk8A&grant_type=authorization_code&redirect_uri=http%3A%2F%2Flocalhost%3A9000%2Fcallback&scope=read_profile"
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "click on Authorize so you get redirected back to the redirect URI callback."