spring cloud gateway route forwarding and encryption and decryption of request and response

Please refer to and learn the introduction and operating principle of sygateway by yourself. The content of this chapter needs to be based on the basic understanding and certain knowledge of spring cloud gateway. Attach a blog post for learning: Spring cloud gateway (the most complete in HistorUTF-8...

Posted by jimmyhumbled on Thu, 23 Sep 2021 10:16:29 +0530

RabbitMQ practice - asynchronous processing

A typical usage scenario for rabbitmq is asynchronous processing Scenario Description: after the user registers, send registration email and registration SMS to the user. When we develop the above scenarios, we usually use two ways to implement them. Serial mode Before there was no mq middlewarUTF-8...

Posted by techevan on Thu, 23 Sep 2021 10:34:33 +0530

@Difference between Valid and @ Validated

@Difference between Valid and @ Validated sketch @Validation is a set of annotations that help us continue to verify the transmitted parameters. By configuring validation, we can easily complete the data constraints. @Validated acts on classes, methods, and parameters @Target({ElementType.TYPE,UTF-8...

Posted by dlebowski on Thu, 23 Sep 2021 10:50:51 +0530

cypress standardized development -- efficient utilization of cucumber

Standardized development process in cooperation with Cucumber We found from the official website that the introduction programming of cypress and most novice cypress developers adhere to the way of following the official website to write test implementations. However, in fact, when running cypUTF-8...

Posted by ju8ular1 on Thu, 23 Sep 2021 12:05:39 +0530

Integration of SpringBoot and Shiro

1. Introduction to Shiro framework Apache Shiro is a powerful and easy-to-use rights management framework that performs authentication, authorization, password management and session management 1-1.Shiro core components: UsernamePasswordToken is used by Shiro to encapsulate the user's login infUTF-8...

Posted by JADASDesigner on Thu, 23 Sep 2021 12:58:04 +0530

Collection of various sets

Arrays are thousands and millions, and collections are truth there are two common data saving forms in our code - > array and set; The biggest difference between arrays and sets is query and expansion. Generally, when the data is determined, it will be easier for us to query in the form of arrUTF-8...

Posted by bschultz on Thu, 23 Sep 2021 14:15:42 +0530

Java collection: Interpretation of comparable class for (object x) method

catalogue 1. Interpretation of comparableClassFor(Object x) method 1.1 method description 1.2,instanceof 1.3,getClass() 1.4,getGenericInterfaces() 1.5. getGenericSuperclass() and getSuperclass() 1.6,ParameterizedType 1.7,getRawType() 1.8,getActualTypeArguments 1.9,getOwnerType() 2. Summary 1. IUTF-8...

Posted by amitdubey2 on Thu, 23 Sep 2021 15:18:01 +0530

Source code understanding of AQS

Member variables of AQS private volatile int state: flag bit used to judge whether shared resources are occupied. 0 means not occupiedNode head and tail: two nodes, a head node and a tail node Member variable of Node 2.1. CANCELLED = 1 2.2. SIGNAL = -1 2.3. CONDITION = -2 2.4. PROPAGATE = -3 2UTF-8...

Posted by igoy on Thu, 23 Sep 2021 15:21:17 +0530

Distributed transaction Seata TCC mode - Spring Cloud microservice adds TCC distributed transaction

Distributed transaction (III) Seata TCC mode Basic principles of TCC Like Seata AT transactions, TCC is a two-phase transaction. Its main differences from AT transactions are as follows: TCC seriously intrudes into business code The data operation in each stage should be coded by itself, and thUTF-8...

Posted by emma57573 on Thu, 23 Sep 2021 15:32:54 +0530

Java8 - functional interface and Lambda

Catalogue of series articles 1. Functional interface 1.1 concept of functional interface In an interface, there can only be one abstract method, and there can be other non abstract methods, such as static and default methods. Defining a functional interface is simple: public interface MyFunctioUTF-8...

Posted by zkoneffko on Thu, 23 Sep 2021 15:34:09 +0530