@Deprecated public class DriveServiceLocator extends Object
| Constructor and Description |
|---|
DriveServiceLocator()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseHost()
Deprecated.
Base host name or
null if base should be obtained from a request. |
String |
getServiceHost(String requestHost)
Deprecated.
Return host name for given request URI.
|
String |
getServiceLink(String context,
String requestURI)
Deprecated.
Compile service host name from given request's host, optionally taking in account context.
|
boolean |
isRedirect(String requestHost)
Deprecated.
Answers whether the request (to given host) should be redirected to its contextual link.
|
public String getBaseHost()
null if base should be obtained from a request. This method can be
overridden for context depended locators.Stringpublic String getServiceLink(String context, String requestURI)
isRedirect(String).public final boolean isRedirect(String requestHost)
getServiceLink(String, String).requestHost - the request hosttrue if request should be redirected, false otherwise.Copyright © 2003–2017 eXo Platform SAS. All rights reserved.