Summary of efficient java tool classes

1. org.apache.commons.lang.StringUtils isBlank: Is the string empty (trim later) isEmpty: Whether the string is empty (not trim and judge) equals: Is the string equal join: a merged array is a single string, passing a delimiter Split: split string isNumericSpace: Is it number able before and after r ...

Posted by Matt Parsons on Fri, 20 Sep 2019 20:11:02 -0700

CROS Implementing Cross-Domain Authorization

CROS Implementing Cross-Domain Authorization Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. The response had HTTP status code 403 Questions raised If the resources we access do not require authorizatio ...

Posted by sheckel on Fri, 20 Sep 2019 02:31:07 -0700

Spring Cloud Learning Notes: Using Zuul to Build Service Gateway

brief introduction Zuul is an open source API gateway server provided by Netflix. Spring Cloud integrates and enhances Zuul. The service gateway Zuul aggregates all the micro-service interfaces and exposes them uniformly. The external client only needs to interact with the service gateway. Compared with internal services, it can prevent them fr ...

Posted by chuddyuk on Thu, 19 Sep 2019 03:53:29 -0700

Implementation Principle of Spring AntPath Matcher

Links to the original text: https://my.oschina.net/iqoFil/blog/221620   Recently, looking at the Spring source code, the AntPatternMatcher class has appeared many times in the source ...

Posted by youdontmeanmuch on Wed, 18 Sep 2019 00:29:26 -0700

Docker Container Series Articles Docker file of Docker Container Technology

Previously, the relevant articles are as follows: Docker Container Series Introduction to Docker Technology (1) Docker Container Series Introduction to Docker Technology (II) Docker Container Series: How many of these 20 Docker Command s do you know? A Brief Introduction to Docker file Docker can use the content of Dockerfile to automatically b ...

Posted by pjsteinfort on Wed, 18 Sep 2019 00:18:47 -0700

Custom Authentication Security Plug-in in Ignite

After Ignite cluster is built, the application can access the cluster for various operations. But the default cluster has no security protection mechanism. Any application and client supporting JDBC can access the cluster as long as they know the IP address of the cluster node, which creates a certain security risk, which is sensitive to holdin ...

Posted by adamwhiles on Tue, 17 Sep 2019 22:56:05 -0700

Distributed Log Collection Framework Flume

1 Demand analysis WebServer/Application Server is scattered across machines, but we still want to do statistical analysis on the Hadoop platform. How do we collect logs on the Hadoop platform? Is that simple? shell cp hadoop Clustered machines; hadoop fs -put ... / Obviously, this method is facing a series of problems such as fault toleranc ...

Posted by Andy82 on Tue, 17 Sep 2019 09:51:00 -0700

Tutorial - How to integrate superset in your own application

Superset is an incubator project of apache, positioned as a modern, quasi-commercial BI system superset Apache Superset (incubating) is a modern, enterprise-ready business intelligence web application Superset is an incubation project of apache, positioned as a modern, quasi-commercial BI system. Superset (Caravel) is an open source data anal ...

Posted by stopblackholes on Tue, 17 Sep 2019 05:57:13 -0700

MapReduce realizes secondary sorting

Article directory 1. Preface 2. Demand analysis 3. The Realization Principle of Quadratic Sorting 4. Upload files 5. Code Implementation 6. Effect screenshots 1. Preface By default, Map will sort keys automatically, but sometimes it needs to ...

Posted by callesson on Tue, 17 Sep 2019 05:37:12 -0700

Record an HTML template to PDF

HTM template style and the actual conversion of pdf style will have a very large gap between the way to obtain templates is also very tortuous.Here's a quick way to record it. Step one:The style here is exactly the same as that of html on the print page that calls windows on the front end; the left target printer selection: save as PDFThe pdf s ...

Posted by Paulus Magnus on Mon, 16 Sep 2019 00:11:43 -0700