Package com.ibm.fhir.server.rest
Class FHIRRestInteractionIssue
- java.lang.Object
-
- com.ibm.fhir.server.rest.FHIRRestInteractionBase
-
- com.ibm.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, long initialTime, 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
accept(FHIRRestInteractionVisitor visitor)
Perform this interaction on the given visitor.-
Methods inherited from class com.ibm.fhir.server.rest.FHIRRestInteractionBase
getEntryIndex, getInitialTime, 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, long initialTime, javax.ws.rs.core.Response.Status status, Bundle.Entry responseEntry)
Public constructor- Parameters:
entryIndex
-initialTime
-status
-responseEntry
-
-
-
Method Detail
-
accept
public void accept(FHIRRestInteractionVisitor visitor) throws Exception
Description copied from interface:FHIRRestInteraction
Perform this interaction on the given visitor. Some implementations may chose to update their internal state based on the interaction.- Throws:
Exception
-
-