Class ApachePatch

java.lang.Object
com.easypost.utils.ApachePatch

public abstract class ApachePatch extends Object
This class is a collection of Apache functions that have been extracted for use in this application. This class is required because Apache's libraries are notorious for security vulnerabilities, so we'll only extract the safe functions that we need, rather than importing an entire vulnerable dependency.

A lot of the functions in here are lifted straight from Apache's source code with minor alterations, so any janky code complaints should be directed at the Apache developers who wrote them probably 20 years ago.

  • Constructor Details

    • ApachePatch

      public ApachePatch()