Map + functional interface method to solve if else

Click to follow 👉   2022-01-25 10:33 659 source codes included in topic # taro Click "taro source code" above and select“ Set as star" Whether she's ahead or behind? A wave that can wave is a good wave! Update the article at 10:33 every day and lose 100 million hair every day Source code boutique column Origi ...

Posted by cgm225 on Thu, 31 Mar 2022 10:54:41 +0300

Shiro learning chapter - spring boot simple integration Shiro

1. Introduction to Shiro 1.1. What is shiro Apache Shiro is a Java Security (permission) frameworkShiro can easily develop good enough applications, which can be used not only in Java se environment, but also in Java EE environmentShiro can complete authentication, authorization, encryption session management, Web integration cache, etcDo ...

Posted by godyn on Thu, 31 Mar 2022 07:26:54 +0300

Swagger (won't come to kan me)

1. General Swagger: normalize the document. Automatically generate API documents by adding annotations to the API. API and documentation are connected Swagger is a normative and complete framework for generating, describing, invoking and visualizing RESTful Web services~ 2. Quick start The example code corresponds to the ...

Posted by bigsexychris on Thu, 31 Mar 2022 06:38:28 +0300

Learn more about Spring RESTful Controller

1. Basic concept of Servlet Servlet is a Java program running on the server side. It can accept HTTP requests initiated by the client and dynamically generate page content. It has been almost completely bound with HTTP communication protocol, so our commonly used term servlet is the abbreviation of "HTTP Servlet". Servlet provides sp ...

Posted by kutyadog on Wed, 30 Mar 2022 08:45:39 +0300

SpringBoot unified exception handling

SpringBoot unified exception handling 01. Analysis Unified jump: / error this is a global mechanismConfiguration class: supplementary state jump - local mechanismCustomize the way of the page, so that we can put error HTML can be stored at will Question: In fact, the increased workload for development,If the specific exception information i ...

Posted by timbuckthree on Wed, 30 Mar 2022 04:28:58 +0300

java concurrent programming tool class JUC Part 3: DelayQueue delay queue

DelayQueue is the implementation class of BlockingQueue interface. It determines the processing priority of the elements in the queue according to the "delay time" (that is, it is sorted according to the "delay time" of the queue elements). Another implication is that only those elements that exceed the "delay time&qu ...

Posted by Kelset on Wed, 30 Mar 2022 03:35:16 +0300

Why can the jar of springboot run directly?

1.Spring Boot features The pom file in the Spring Boot project often shows that a plug-in 'Spring Boot Maven plugin' is used to print the program into an executable jar package. <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <art ...

Posted by Online Connect on Tue, 29 Mar 2022 18:29:32 +0300

spring cloud learning note service registration and discovery

preface Learning of service registration and discovery. This is actually the core of microservices, because an important concept of microservices is to split projects to achieve decoupling. So how to connect these services is the key. If a service accesses another service through ip addresses, although there is no physical coupling, there is ne ...

Posted by jeremuck on Sat, 26 Mar 2022 23:51:25 +0300

Framework technology Spring boot -- Introduction to javaconfig, Spring creation project and configuration file yml

SpringBoot framework Introduction to the fundamentals of SpringBoot framework I have been sharing the front-end knowledge for some time, which has indeed expanded my thinking. Since the front-end engineering, using vue framework, the previous JQuery does not seem so... The front-end is mainly modular and engineering, which is the s ...

Posted by bluetonic on Sat, 26 Mar 2022 17:56:08 +0300

Spring boot implements Rest style request and underlying principle

Introduction to Rest style Nowadays, major companies use restful style to define interfaces. Restful is also a set of interface specifications. Restful can make our interfaces more concise, fast, efficient and transparent. Common Rest style / CRUD Request modeCorresponding attributeMode of useGETqueryThe form request method is getPOSTnewl ...

Posted by stemp on Sat, 26 Mar 2022 17:29:07 +0300