Class FHIRRestInteractionIssue
- java.lang.Object
-
- org.linuxforhealth.fhir.server.rest.FHIRRestInteractionBase
-
- org.linuxforhealth.fhir.server.rest.FHIRRestInteractionIssue
-
- All Implemented Interfaces:
FHIRRestInteraction
public class FHIRRestInteractionIssue extends FHIRRestInteractionBase
Captures the fact that an issue occurred while translating a bundle entry. Record the issue so that it can be added to the result bundle later
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Bundle.Entry
responseEntry
(package private) javax.ws.rs.core.Response.Status
status
-
Constructor Summary
Constructors Constructor Description FHIRRestInteractionIssue(int entryIndex, javax.ws.rs.core.Response.Status status, Bundle.Entry responseEntry)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process(FHIRRestInteractionVisitor visitor)
Process this interaction-
Methods inherited from class org.linuxforhealth.fhir.server.rest.FHIRRestInteractionBase
accept, getAccumulatedTime, getEntryIndex, getRequestDescription, getRequestURL, getWarnings
-
-
-
-
Field Detail
-
status
final javax.ws.rs.core.Response.Status status
-
responseEntry
final Bundle.Entry responseEntry
-
-
Constructor Detail
-
FHIRRestInteractionIssue
public FHIRRestInteractionIssue(int entryIndex, javax.ws.rs.core.Response.Status status, Bundle.Entry responseEntry)
Public constructor- Parameters:
entryIndex
-status
-responseEntry
-
-
-
Method Detail
-
process
public void process(FHIRRestInteractionVisitor visitor) throws java.lang.Exception
Description copied from class:FHIRRestInteractionBase
Process this interaction- Specified by:
process
in classFHIRRestInteractionBase
- Throws:
java.lang.Exception
-
-