OKHttp3 Part Source Reading

When we want to integrate OKHttp3 into our project, we need to use the OkHttpClient.Builder() method to create an instance of OkHttpClient, which contains the following attributes: final Dispatcher dispatcher; final Proxy proxy; final List<Protocol> protocols; final List<ConnectionSpec> connectionSpecs; fin ...

Posted by sribala on Sat, 11 May 2019 00:48:53 +0200

spring carding (2) registering bean s based on annotations

We know that if you want to put beans in the spring container management, you need to register beans in the spring container first, and beans can be registered by xml or annotations. The configuration based on xml is usually configurated by xml tags such as < bean >, < context: component-scan >, and then the spring con ...

Posted by Oni on Fri, 10 May 2019 22:58:01 +0200

Dugu Jiujian and Qiankun Great Move-uikiller Plug-in System

Chapter 1 Quake > This paper introduces the basic usage of uikiller. Some people say that the function of long press can be named as intense attack and heavy blow. I think it's really possible, but I just feel that the name of the trick is not enough. I would like to apologize to you here, as I said in the previous article: ...

Posted by stebbi on Fri, 10 May 2019 16:19:30 +0200

mybatis Travel Chapter 6 - Association Query

I. Introduction Through dynamic SQL, we can compile complex SQL, but the previous examples are single-table queries. In actual development, of course, not all single-table queries. Many times we need to carry out related multi-table queries (some companies still try to use single-table queries for performance). The relationship between tables ...

Posted by oaskedal on Fri, 10 May 2019 14:16:08 +0200

logback source code analysis-2, appender parsing

Source code based on logback 1.1.2 The logback.xml file is as follows <?xml version="1.0"?> <configuration scan="true" scanPeriod="30 seconds"> <property name="fileDir" value="/export/log/ingoreTest"/> <appender name="debugFile" class="ch.qos.logback.core.rolling.RollingFileAppender"> <file>${ ...

Posted by kumaran on Fri, 10 May 2019 09:24:03 +0200

Packaging knowledge combing

Our daily computer mainframe encapsulates cpu, memory, motherboard and so on into the chassis. If there is no chassis, then there is no boot button, then we need to operate the jumper directly to turn on the computer. In this way, if the operation is not careful, the machine will be damaged and dangerous, then if encapsulated w ...

Posted by aaronlzw_21 on Thu, 09 May 2019 21:46:02 +0200

Html Introduces Baidu Rich Text Editor ueditor

Rich text editor is powerful and easy to use. I use Baidu Rich Text Editor. First of all, I need to download it well. demo of Baidu Editor, Then create the ueditor.html file, introduce Baidu Editor, then introduce it into the html file, and then use js to instantiate the editor. The code is as follows: <!DOCTYPE html> <html> <h ...

Posted by elle_girl on Thu, 09 May 2019 20:10:04 +0200

What new common grammars are added to ES6

Defined function Let's start with a basic new feature. In javascript, defining functions requires keyword functions, but in es6, there are more advanced ways to write them. Let's see: es6 writing: var human = { breathe(name) { //UnwantedfunctionIt can also be defined. breathe Function. console.log(name + ' is ...

Posted by roach on Thu, 09 May 2019 13:12:04 +0200

java—— reflection details

Reflection is rarely used in our ordinary program development, but it is used extensively in our underlying program design, such as agent mode, factory mode and some other design modes, including the development tools we use, as well as at the bottom of many open source frameworks.So mastering Java's reflection mechanism is very ...

Posted by ejames13 on Wed, 08 May 2019 17:18:03 +0200

Express Tutorial Series: Basic Use of session

1. About session session is another mechanism for recording the status of clients. Unlike cookie s, which are stored in client browsers, sessions are stored in servers.When the client accesses the server, the server generates a session object with the key:value stored in it, and the server passes the key back to the client's cookie. When the u ...

Posted by zilem on Wed, 08 May 2019 06:30:03 +0200