Package com.enonic.xp.web.servlet
Class ServletRequestUrlHelper
- java.lang.Object
-
- com.enonic.xp.web.servlet.ServletRequestUrlHelper
-
@PublicApi public final class ServletRequestUrlHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description ServletRequestUrlHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static StringcontentDispositionAttachment(String fileName)static StringcreateUri(String path)Deprecated.static StringcreateUri(javax.servlet.http.HttpServletRequest req, String path)static StringgetFullUrl()Deprecated.static StringgetFullUrl(javax.servlet.http.HttpServletRequest req)static StringgetHost()Deprecated.static StringgetHost(javax.servlet.http.HttpServletRequest req)Deprecated.static HostAndPortgetHostAndPort()Deprecated.static HostAndPortgetHostAndPort(javax.servlet.http.HttpServletRequest req)Deprecated.static StringgetPath()Deprecated.static StringgetPath(javax.servlet.http.HttpServletRequest req)static intgetPort()Deprecated.static intgetPort(javax.servlet.http.HttpServletRequest req)Deprecated.static StringgetRemoteAddress(javax.servlet.http.HttpServletRequest req)Deprecated.static StringgetScheme()Deprecated.static StringgetScheme(javax.servlet.http.HttpServletRequest req)Deprecated.static StringgetServerUrl()Deprecated.static StringgetServerUrl(javax.servlet.http.HttpServletRequest req)static UriRewritingResultrewriteUri(String uri)Deprecated.static UriRewritingResultrewriteUri(javax.servlet.http.HttpServletRequest req, String uri)
-
-
-
Method Detail
-
createUri
@Deprecated public static String createUri(String path)
Deprecated.
-
getScheme
@Deprecated public static String getScheme()
Deprecated.
-
getScheme
@Deprecated public static String getScheme(javax.servlet.http.HttpServletRequest req)
Deprecated.
-
getHost
@Deprecated public static String getHost()
Deprecated.
-
getHost
@Deprecated public static String getHost(javax.servlet.http.HttpServletRequest req)
Deprecated.
-
getPort
@Deprecated public static int getPort()
Deprecated.
-
getPort
@Deprecated public static int getPort(javax.servlet.http.HttpServletRequest req)
Deprecated.
-
getHostAndPort
@Deprecated public static HostAndPort getHostAndPort()
Deprecated.
-
getHostAndPort
@Deprecated public static HostAndPort getHostAndPort(javax.servlet.http.HttpServletRequest req)
Deprecated.
-
getRemoteAddress
@Deprecated public static String getRemoteAddress(javax.servlet.http.HttpServletRequest req)
Deprecated.
-
getPath
@Deprecated public static String getPath()
Deprecated.
-
getPath
public static String getPath(javax.servlet.http.HttpServletRequest req)
-
getServerUrl
@Deprecated public static String getServerUrl()
Deprecated.
-
getServerUrl
public static String getServerUrl(javax.servlet.http.HttpServletRequest req)
-
getFullUrl
@Deprecated public static String getFullUrl()
Deprecated.
-
getFullUrl
public static String getFullUrl(javax.servlet.http.HttpServletRequest req)
-
rewriteUri
@Deprecated public static UriRewritingResult rewriteUri(String uri)
Deprecated.
-
rewriteUri
public static UriRewritingResult rewriteUri(javax.servlet.http.HttpServletRequest req, String uri)
-
-