public class Contextualizer extends Object implements org.springframework.web.context.ServletContextAware
Constructor and Description |
---|
Contextualizer() |
Modifier and Type | Method and Description |
---|---|
String |
contextualize(String input)
Apply the contextualization operation.
|
String |
contextualize(javax.ws.rs.core.UriInfo ui,
String input)
Apply the contextualization operation.
|
void |
setServletContext(javax.servlet.ServletContext servletContext) |
public String contextualize(String input)
input
- the string to contextualizepublic String contextualize(javax.ws.rs.core.UriInfo ui, String input)
ui
- Where to get information about the URL used to access the
webapp.input
- the string to contextualizepublic void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext
in interface org.springframework.web.context.ServletContextAware
Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.