/** * Create new servlet deployment context builder initialized from the supplied initialization parameters. * * @param initParams a map of initialization parameters. The parameters will be copied. * @return new servlet deployment context builder instance initialized from the supplied initialization parameters. * * @throws java.lang.NullPointerException is the specified map is {@code null}. */ public static Builder builder(final Map<String, String> initParams) { return new Builder().initParams(initParams); }
/** * Create new servlet deployment context builder initialized from the supplied initialization parameters. * * @param initParams a map of initialization parameters. The parameters will be copied. * @return new servlet deployment context builder instance initialized from the supplied initialization parameters. * * @throws java.lang.NullPointerException is the specified map is {@code null}. */ public static Builder builder(final Map<String, String> initParams) { return new Builder().initParams(initParams); }