HttpClient uses MultipartEntity Builder to upload multiple files

1. MultipartEntityBuilder for File Upload After HttpCient 4.3, the main classes used for uploading files are MultipartEntity Builder under org.apache.http.entity.mime (the original MultipartEntity has been largely abandoned). The basic implementation steps are as follows: 1. Set up the upload mode; SetMode (Http MultipartMode), which ...

Added by think-digitally on Fri, 17 May 2019 17:41:56 +0300

Farewell to Code Copy of Encryption and Decryption Module - JCE Core Cpiher Details

premise javax.crypto.Cipher, translated as a password, is actually better known as a crypto. Cipher is the core of JCA(Java Cryptographic Extension), which provides encryption and decryption functions based on a variety of encryption and decryption algorithms. Before we know Cipher, we always need to copy code everywhere when we complete some m ...

Added by saint4 on Fri, 17 May 2019 00:54:10 +0300

Cordova source learning (1) - JS calls Native

This article only reads the source code of the interaction between JS and Native. As for how Cordova develops plug-ins and so on, please refer to Cordova's official documentation: https://cordova.apache.org/docs/en/latest/ JS calls Native Flow chart Flow chart analysis index.html call The participants were suc ...

Added by PHPSpirit on Thu, 16 May 2019 07:52:04 +0300

Internet Lightweight Framework SSM - Day 8 (MyBatis Plug-in Plug-in Use and Principles)

Brief: The eighth day was recorded today (only eight days were written).Sometimes I see more, sometimes I see less, and then I save a few days to write together.Today, I wrote this plugin for an afternoon yesterday. I went back after work. I ended it today and added a process diagram to help understand the following principles.I have been readi ...

Added by tmaiden on Wed, 15 May 2019 23:32:20 +0300

GB28181 registration for the first SIP protocol across the network (JAVA version)

Since most SIP registry server writings on the web are C/C++/python, post this post and share the JAVA implementation GB28181 defines the SIP-based video monitoring interconnection specification. For most private protocol-implemented monitoring systems, if they want to access the SIP architecture, they need to use the gateway. GB28181 specifie ...

Added by mickwaffle on Wed, 15 May 2019 08:45:56 +0300

The storage format of hit table; the use of ORC format

There are several types of source file storage formats for the hit table: 1,TEXTFILE The default format is not specified when creating tables. When importing data, the data files will be copied directly to hdfs for processing. Source files can be viewed directly through Hadoop fs-cat 2. SEQUENCEFILE is a binary ...

Added by poppy28 on Sun, 12 May 2019 10:09:32 +0300