public abstract class AbstractBaseUrlGenerator extends Object implements BaseUrlGenerator
Constructor and Description |
---|
AbstractBaseUrlGenerator() |
Modifier and Type | Method and Description |
---|---|
String |
getBaseUrl(HttpServletRequest req,
String repositoryId,
CMISDispatcherRegistry.Binding binding) |
String |
getContextPath(HttpServletRequest httpReq) |
String |
getRequestURI(HttpServletRequest req,
String repositoryId,
String operation,
String id) |
protected abstract String |
getServerPath(HttpServletRequest request) |
String |
getServletPath(HttpServletRequest req) |
void |
setContextOverride(String contextOverride) |
void |
setOverrideContext(boolean overrideContext) |
void |
setOverrideServletPath(boolean overrideServletPath) |
void |
setPathGenerator(PathGenerator pathGenerator) |
void |
setServletPathOverride(String servletPathOverride) |
public void setPathGenerator(PathGenerator pathGenerator)
public void setOverrideContext(boolean overrideContext)
public void setContextOverride(String contextOverride)
public void setOverrideServletPath(boolean overrideServletPath)
public void setServletPathOverride(String servletPathOverride)
protected abstract String getServerPath(HttpServletRequest request)
public String getContextPath(HttpServletRequest httpReq)
getContextPath
in interface BaseUrlGenerator
public String getServletPath(HttpServletRequest req)
getServletPath
in interface BaseUrlGenerator
public String getRequestURI(HttpServletRequest req, String repositoryId, String operation, String id)
getRequestURI
in interface BaseUrlGenerator
public String getBaseUrl(HttpServletRequest req, String repositoryId, CMISDispatcherRegistry.Binding binding)
getBaseUrl
in interface BaseUrlGenerator
Copyright © 2005–2017 Alfresco Software. All rights reserved.