Monthly Digest

My blog posts of June, 2018.

JGit: Customize Git references using RefFilter

This post explains how to apply a Git reference filter to your Git server in Java. It allows you to customize Git references before sending data to clients (upload-pack).

Create a HTTP Request in JS

Today, I'll explain how to send HTTP request from your browser. You can achieve that by using builtin JavaScript (XML HTTP Request, or "XHR") or jQuery (1.4, 1.5+).

Use Auto Value and Jackson in REST API

This post explains what is Google Auto Value and why it is the best alternative for Data Transfer Objects (DTO) in your web service. It shares how to apply Jackson annotations on top of Auto Value classes. There're also some advanced configurations about this topic.

My Java Code Style

My Java code style: a collection of Java good practices.