Package ca.uhn.fhir.rest.server
Class HardcodedServerAddressStrategy
- java.lang.Object
-
- ca.uhn.fhir.rest.server.HardcodedServerAddressStrategy
-
- All Implemented Interfaces:
IServerAddressStrategy
public class HardcodedServerAddressStrategy extends Object implements IServerAddressStrategy
Server address strategy which simply returns a hardcoded URL
-
-
Constructor Summary
Constructors Constructor Description HardcodedServerAddressStrategy()HardcodedServerAddressStrategy(String theValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdetermineServerBase(javax.servlet.ServletContext theServletContext, javax.servlet.http.HttpServletRequest theRequest)Determine the server base for a given requestStringgetValue()voidsetValue(String theValue)
-
-
-
Constructor Detail
-
HardcodedServerAddressStrategy
public HardcodedServerAddressStrategy()
-
HardcodedServerAddressStrategy
public HardcodedServerAddressStrategy(String theValue)
-
-
Method Detail
-
determineServerBase
public String determineServerBase(javax.servlet.ServletContext theServletContext, javax.servlet.http.HttpServletRequest theRequest)
Description copied from interface:IServerAddressStrategyDetermine the server base for a given request- Specified by:
determineServerBasein interfaceIServerAddressStrategy
-
-