Several ways for spring boot to modify the default port number

Modify application.properties In the first way, we just need to add a sentence like this in application.properties: server.port=8004. Why can I modify the default port of spring boot in this way? Because there is such a class in SpringBoot: ServerProperties. Let's take a look at this class in general: @ConfigurationProperties(prefix = "serv ...

Posted by paperthinT on Mon, 04 May 2020 13:25:32 -0700

Summary of OkHttp source code interpretation (VIII) -- > BridgeInterceptor

Summary of OkHttp source code interpretation (VIII) - > bridgeinterceptor Tags (space separated): learning notes of OkHttp source code Preface The following summary of relevant knowledge is based on the relevant learning and opinions of mooc.com. If you need to check the relevant teaching of mooc.com, you can st ...

Posted by bobthebuilder on Mon, 04 May 2020 08:25:20 -0700

Java multithreading overview

Thread overview Almost all operating systems support running multiple tasks at the same time. A task is usually a program, and each running program is a process. When a program is running, it may contain multiple sequential execution flows, each of which is a thread. Threads and processes         Almost all operating sys ...

Posted by jackliu97 on Mon, 04 May 2020 04:23:08 -0700

Summary of JSP scrambling

Specify the encoding format on the jsp page to ensure that it is consistent with the character set of mysql: <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> Step 1: make sure the project code is UTF-8 Step 2: ma ...

Posted by gigabyt3r on Sun, 03 May 2020 21:19:25 -0700

Cookie of Java Web session Technology

Conversational Technology Session: multiple requests and responses in one session One session: the browser sends a request to the server for the first time, and the session is established until one party disconnects Function: share data among multiple requests within the scope of one session Method: Client session Technology: Cookie Sessio ...

Posted by nakkaya on Sun, 03 May 2020 20:03:23 -0700

Python learning notes NO.1 variables, comments and simple input and output

Python variables Variables are used to store some intermediate results in the computation of programs. In order to facilitate future calls, variables must be descriptive. Variable can be regarded as a container for information, marked and stored in memory, which can be used in the whole program. student_number=30 studentNumber=30 ...

Posted by karenn1 on Sun, 03 May 2020 17:54:11 -0700

(4) -- color matrix for Android image processing

We know that adjusting the color matrix can change the color effect of an image. Image processing is largely looking for the color matrix of an image. We can not only process the image through ColorMatrix, but also modify the value of the matrix accurately to achieve color effect processing. The color matrix of 4X5 is ...

Posted by kath421 on Sun, 03 May 2020 06:03:59 -0700

New Python day 4 (appliance)

Python generator Generators and build expressions a=[i*2 for i in range(10)] generate expressionb=(i*2 for i in range(10)) (generator) Features of generator: advantages (no memory space, fast generation speed), disadvantages (can't slice, can only save the current value, can't get the previous value) Python create generator #1.generator b=(i* ...

Posted by Warptweet on Sun, 03 May 2020 03:04:45 -0700

Recycle view of android Development Notes

reference material 1.Android RecyclerView uses full resolution to experience artistic controls http://blog.csdn.net/lmj623565791/article/details/45059587 2.RecyclerViewItemAnimators https://github.com/gabrielemariotti/RecyclerViewItemAnimators Explain Recently, I was working on projects for other departments, and ...

Posted by Visualant on Sun, 03 May 2020 01:20:18 -0700

A standard ajax

A standard ajax Reader's words: after summarizing the past work, I found that I have made a lot of progress. In order to thank the fans for their support, I will strive to build a boutique blog, change the habit of making comments for myself. Again, I hope you can criticize and correct me. If you have solved your problem, remember to pay a ...

Posted by SoberDude on Sat, 02 May 2020 23:35:41 -0700