화면 셋팅값 blank 예외처리.
This commit is contained in:
+11
-1
@@ -811,7 +811,17 @@ public class HttpClient5AdapterServiceRest extends HttpClient5AdapterServiceSupp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
//전문에서 추출한 httpHeader값 외 어댑터에서 최종적으로 적용되도록,
|
//전문에서 추출한 httpHeader값 외 어댑터에서 최종적으로 적용되도록,
|
||||||
String httpSettingJsonStr = prop.getProperty( HTTP_HEADER_SETTING , "{}");
|
String httpSettingJsonStr = prop.getProperty( HTTP_HEADER_SETTING );
|
||||||
|
|
||||||
|
if( StringUtils.isBlank(httpSettingJsonStr) )
|
||||||
|
{
|
||||||
|
if( logger.isInfoEnabled() ) {
|
||||||
|
logger.info("HTTP_HEADER_SETTING value is not JSONObject Type, skip.");
|
||||||
|
}
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
JSONObject httpValues = (JSONObject) JSONValue.parse(httpSettingJsonStr);
|
JSONObject httpValues = (JSONObject) JSONValue.parse(httpSettingJsonStr);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user