Java refactor check httpcodes profiles

Java refactor check httpcodes profiles