인코딩 오류 수정
This commit is contained in:
+2
-2
@@ -254,10 +254,10 @@ public class HttpAdapterServiceStandard extends HttpAdapterServiceSupport
|
|||||||
responseData = new String((byte[]) result, encode);
|
responseData = new String((byte[]) result, encode);
|
||||||
responseBytes = (byte[]) result;
|
responseBytes = (byte[]) result;
|
||||||
} else if (result instanceof String) {
|
} else if (result instanceof String) {
|
||||||
responseBytes = ((String)result).getBytes();
|
responseBytes = ((String)result).getBytes(encode);
|
||||||
if ( StringUtils.isBlank((String)result ) ) {
|
if ( StringUtils.isBlank((String)result ) ) {
|
||||||
responseData = ElinkConfig.getAsyncDummyDataForAdapterGroup(adptGrpName, adptName);
|
responseData = ElinkConfig.getAsyncDummyDataForAdapterGroup(adptGrpName, adptName);
|
||||||
responseBytes = responseData.getBytes();
|
responseBytes = responseData.getBytes(encode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user