Allow processing of transactions without a servlet in context

This commit is contained in:
James Agnew 2017-01-18 22:18:03 -05:00
parent b80897d16c
commit 495e57b4ec
1 changed files with 6 additions and 2 deletions

View File

@ -667,12 +667,16 @@ public abstract class BaseHapiFhirDao<T extends IBaseResource> implements IDao {
}
protected void markRequestAsProcessingSubRequest(ServletRequestDetails theRequestDetails) {
if (theRequestDetails != null) {
theRequestDetails.getUserData().put(PROCESSING_SUB_REQUEST, Boolean.TRUE);
}
}
protected void clearRequestAsProcessingSubRequest(ServletRequestDetails theRequestDetails) {
if (theRequestDetails != null) {
theRequestDetails.getUserData().remove(PROCESSING_SUB_REQUEST);
}
}
public String parseContentTextIntoWords(IBaseResource theResource) {
StringBuilder retVal = new StringBuilder();