public class ServerConformanceProvider extends Object implements IServerConformanceProvider<Conformance>
Note: This class is safe to extend, but it is important to note that the same instance of Conformance is always returned unless setCache(boolean) is called with a value of
false. This means that if you are adding anything to the returned conformance instance on each call you should call setCache(false) in your provider constructor.
| Constructor and Description |
|---|
ServerConformanceProvider() |
ServerConformanceProvider(RestfulServer theRestfulServer) |
ServerConformanceProvider(RestulfulServerConfiguration theServerConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPublisher()
Gets the value of the "publisher" that will be placed in the generated conformance statement.
|
Conformance |
getServerConformance(javax.servlet.http.HttpServletRequest theRequest) |
void |
initializeOperations() |
OperationDefinition |
readOperationDefinition(IdDt theId) |
void |
setCache(boolean theCache)
Sets the cache property (default is true).
|
void |
setPublisher(String thePublisher)
Sets the value of the "publisher" that will be placed in the generated conformance statement.
|
void |
setRestfulServer(RestfulServer theRestfulServer) |
public ServerConformanceProvider(RestfulServer theRestfulServer)
public ServerConformanceProvider(RestulfulServerConfiguration theServerConfiguration)
public ServerConformanceProvider()
public void setRestfulServer(RestfulServer theRestfulServer)
setRestfulServer in interface IServerConformanceProvider<Conformance>public String getPublisher()
public Conformance getServerConformance(javax.servlet.http.HttpServletRequest theRequest)
getServerConformance in interface IServerConformanceProvider<Conformance>public void initializeOperations()
public OperationDefinition readOperationDefinition(IdDt theId)
public void setCache(boolean theCache)
See the class documentation for an important note if you are extending this class
public void setPublisher(String thePublisher)
Copyright © 2014–2016 University Health Network. All rights reserved.