Java
-
Method of zuul modifying request parameter information in spring cloud
Zuul is a load balancer based on JVM routing and server produced by Netflix Zuul function: Zuul's rule engine allows r…… -
Java implements the method of extracting plain text from HTML text
1. Application scenario: extract plain text from an HTML file or string (which is HTML content) and remove the web pag…… -
An instance of Java that determines whether two strings are composed of the same characters
Problem: composed of the same characters means that two strings have the same letters and the number of letters, but i…… -
Detailed explanation of spring boot monitoring and processing scheme examples
As we all know, spring boot integrates many third-party frameworks. Let's briefly discuss things related to performanc…… -
Java method for extracting the same element in two strings
As follows: Output: "result: Wang erxiao, Mao Jianqing" The above method of extracting the same elements from two stri…… -
Java filters HTML tags to obtain instances of plain text information
As follows: The above example of Java filtering HTML tags to obtain plain text information is all the content shared b…… -
Explain the link tracking of spring cloud distributed integration Zipkin in detail
Why use Zipkin? The previous article mainly wrote: spring cloud distributed log link tracking -
Java calls Taobao API to query IP address online
The data returned by Taobao is: {"code": 0, "data": {"country": "\ u4e2d \ u56fd", "country_id": "CN", "area": "\ u534…… -
Explain spring cloud distributed log link tracking in detail
First of all, why use link tracking@ H_ 403_ 1@ When we call between micro services, there may be errors, but we don't…… -
Method for inputting multiple integers from keyboard in Java
Example: sum of sequences Enter two integers n and m respectively, separated by a space in the middle. N is the first …… -
Various implementation methods of Java keyboard input
Example program: 1. Use scanner to read integer or float data from the keyboard -
Java method for reading string branch string
1. Scenario: there are branches in the string, and each line needs to be extracted for processing. 2. Reference codes …… -
Java programming to realize the function of multi person chat room
This example shares the specific code of Java to realize multi person chat room for your reference. The specific conte…… -
Java input multiple data (uncertain), sort, and find the maximum method
As follows: The above method of inputting multiple data (uncertain), sorting and maximizing in Java is all the content…… -
Java regular expression method to get the string between two characters
When building community apps, you need to realize this function: Note: m.group (0) contains those two characters, and …… -
Based on the use of string indexof () in Java
There are four methods (indexof ()) to find substrings of strings in Java The indexof method returns an integer value …… -
Java implementation of simple chat room single version
This example shares the specific code of simple chat room in Java for your reference. The specific contents are as fol…… -
Several methods of writing files from Java file output stream
Java file output stream is a byte stream class used to process raw binary data. In order to write data to a file, the …… -
Summary of common operations of arrays based on Java (must see)
Common operations on arrays 1. Find the maximum value and minimum value in the array Idea: assuming that the element w…… -
Method of reading single character with scanner class in Java
Scanner does not have a method to directly read a single character, and the next method cannot read the space characte…… -
Java calculates the number of days before two dates (excluding holidays and weekends)
As mentioned in the question, calculate the number of days before two dates, excluding holidays and weekends. The type…… -
Explain the wait notify mechanism of Java program concurrency in detail
Wait notify scenario a typical wait notify scenario is generally related to the following two contents: 1 State variab…… -
Analyze java thread wait and notify in detail
Wait () and notify () are directly subordinate to the object class, that is, all objects have this pair of methods. At…… -
Mutual conversion method between Java binary data and hexadecimal string
The general input formats of binary data are 0x45, 0x3a and 0xc3. This data format looks like a hexadecimal string, bu…… -
Two implementation methods of binary to hexadecimal conversion in Java
Two implementation methods of binary to hexadecimal conversion in Java Convert each byte to hexadecimal, method 1 Conv…… -
On the conversion between binary, decimal, hexadecimal and string
1. Byte to decimal Use (int) type conversion directly. 2. Hexadecimal to byte Use (byte) type conversion directly. 3. …… -
Spring boot implementation filter and interceptor demo
Sort out the documents, search out a demo of spring boot implementation filter and interceptor, sort it out a little a…… -
Java reads files by line, writes files by line, and splits strings with spaces
The first is to read the string by line Split strings by spaces and reassemble them into new strings Null is "\ s", wh…… -
Solve the problem of java web reading local JSON files and garbled code
Recently, I encountered a problem when developing a project. I successfully read the JSON file in the project using Go…… -
Detailed analysis of spring MVC startup process source code
Today, Xiaobian tries to analyze the initialization process of spring MVC from the source level and uncover the real v…… -
Common operation methods of Java string (find, intercept and split)
As follows: Output results: The above common operation methods of Java string (search, interception and segmentation) …… -
Java processing method for reading file path spaces, “+” and Chinese
Sometimes the file is read in Java code. If the path of the file contains spaces ”+In case of "No. or Chinese", becaus……