org.specrunner.jetty
Class JettyStringProvider
java.lang.Object
org.specrunner.jetty.JettyStringProvider
- All Implemented Interfaces:
- IStringProvider
public class JettyStringProvider
- extends Object
- implements IStringProvider
Default implementation of a string provider which, based on a previous
started Jetty server, gets the base url.
- Author:
- Thiago Santos
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FEATURE_URL
public static final String FEATURE_URL
- URL feature.
JettyStringProvider
public JettyStringProvider()
getUrl
public String getUrl()
- The url.
- Returns:
- The url.
setUrl
public void setUrl(String url)
- Sets the url.
- Parameters:
url - The url.
newString
public String newString(IContext context)
throws ContextException
- Specified by:
newString in interface IStringProvider
- Throws:
ContextException
Copyright © 2015. All rights reserved.