public class StringContextReplacement extends Object
Constructor and Description |
---|
StringContextReplacement() |
Modifier and Type | Method and Description |
---|---|
static String |
replace(String original)
Utility to replace predefined expressions within a string with values from the HTTP request;
${basepath} - UriInfo.getBaseUri().getRawPath()
${absolutepath} - UriInfo.getAbsolutePath().getRawPath()
${absoluteuri} - UriInfo.getAbsolutePath().toString()
${baseuri} - UriInfo.getBaseUri().toString()
${contextpath} - HttpServletRequest.getContextPath()
|
public static String replace(String original)
original
- Copyright © 2015 JBoss by Red Hat. All rights reserved.