Package com.ibm.fhir.server.rest
Class FHIRRestInteractionBase
- java.lang.Object
-
- com.ibm.fhir.server.rest.FHIRRestInteractionBase
-
- All Implemented Interfaces:
FHIRRestInteraction
- Direct Known Subclasses:
FHIRRestInteractionDelete
,FHIRRestInteractionHistory
,FHIRRestInteractionIssue
,FHIRRestInteractionRead
,FHIRRestInteractionResource
,FHIRRestInteractionSearch
,FHIRRestInteractionVRead
public abstract class FHIRRestInteractionBase extends Object implements FHIRRestInteraction
Base forFHIRRestInteraction
implementations, providing common functions
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FHIRRestInteractionBase(int entryIndex, String requestDescription, FHIRUrlParser requestURL, long initialTime)
Protected constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getEntryIndex()
Get the index for the response bundle entrylong
getInitialTime()
String
getRequestDescription()
FHIRUrlParser
getRequestURL()
List<OperationOutcome.Issue>
getWarnings()
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.ibm.fhir.server.rest.FHIRRestInteraction
accept
-
-
-
-
Constructor Detail
-
FHIRRestInteractionBase
protected FHIRRestInteractionBase(int entryIndex, String requestDescription, FHIRUrlParser requestURL, long initialTime)
Protected constructor- Parameters:
entryIndex
-event
-requestDescription
-requestURL
-initialTime
-
-
-
Method Detail
-
getEntryIndex
public int getEntryIndex()
Description copied from interface:FHIRRestInteraction
Get the index for the response bundle entry- Specified by:
getEntryIndex
in interfaceFHIRRestInteraction
- Returns:
-
getRequestDescription
public String getRequestDescription()
- Returns:
- the requestDescription
-
getInitialTime
public long getInitialTime()
- Returns:
- the initialTime
-
getRequestURL
public FHIRUrlParser getRequestURL()
- Returns:
- the requestURL
-
getWarnings
public List<OperationOutcome.Issue> getWarnings()
- Returns:
- the warnings list
-
-