Java 8 Improved Interface Abstract Class Enumeration Class

1.Basic syntax for defining interfaces: [Modifier] interface Interface name extends Parent Interface 1, Parent Interface 2, ... { Definitions of zero to multiple constants... Zero to more than one abstract method definition... Zero to many internal classes, interfaces, enumeration definitions... Zero to more than one default method or ...

Posted by simonp on Tue, 21 Sep 2021 18:01:48 +0200

Netty series: Handling CORS in netty

brief introduction The full name of CORS is cross domain resource sharing. It is a mechanism based on HTTP header detection. By controlling HTTP header, the permission management function of cross domain resources can be realized. In the previous CORS detailed article, we have a basic explanation of CORS. This article will explain how to ...

Posted by happyneil on Sat, 18 Sep 2021 05:51:38 +0200

Introduction to SpringBoot - > (personal learning notes)

1. Getting started 1.1 import dependency All springboot projects must inherit spring boot starter parent <!-- All springboot All projects must be inherited spring-boot-starter-parent --> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> ...

Posted by zander213 on Sat, 18 Sep 2021 04:08:53 +0200

step05 day01 learning notes springcloud practice

1. Introduction to springcloud 1.1 INTRODUCTION spring cloud is a collection of frameworks. Taking advantage of the development convenience of spring boot, it cleverly simplifies the development of distributed system infrastructure, such as service discovery and registration, configuration center, message bus, load balancing, circuit breaker, ...

Posted by lexx on Fri, 10 Sep 2021 20:43:12 +0200

Design mode ----------- factory method mode

1, Definition The Factory Method pattern defines an interface for creating objects and lets subclasses decide which class to instantiate. Factory methods delay instantiation of a class to its subclasses. 2, Usage scenario Based on the simple factory mode, the factory method mode gives the choice of judgment logic to the client, so that the cli ...

Posted by rogair on Wed, 08 Sep 2021 21:21:38 +0200