getHttpStatusCodeをstaticに変更