Fixes #3080 - Do not create and use jars with "tests" classifier.
Updates after review. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
parent
3ca8ef0297
commit
8131bb2f85
|
@ -41,7 +41,8 @@ import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>ServletTester should not be used.</p>
|
* <p>ServletTester is not best practice and may be deprecated and eventually
|
||||||
|
* removed in future Jetty versions.</p>
|
||||||
* <p>ServletTester is a just a wrapper around a {@link ServletContextHandler},
|
* <p>ServletTester is a just a wrapper around a {@link ServletContextHandler},
|
||||||
* with a {@link LocalConnector} to accept HTTP/1.1 requests, so there is no
|
* with a {@link LocalConnector} to accept HTTP/1.1 requests, so there is no
|
||||||
* value that this class adds to already existing classes.</p>
|
* value that this class adds to already existing classes.</p>
|
||||||
|
@ -83,7 +84,6 @@ import org.slf4j.LoggerFactory;
|
||||||
* String rawResponse = connector.getResponse(rawRequest);
|
* String rawResponse = connector.getResponse(rawRequest);
|
||||||
* HttpTester.Response response = HttpTester.parseResponse(rawResponse);
|
* HttpTester.Response response = HttpTester.parseResponse(rawResponse);
|
||||||
* </pre>
|
* </pre>
|
||||||
* <p>This class will be deprecated and eventually removed in future Jetty versions.</p>
|
|
||||||
*/
|
*/
|
||||||
public class ServletTester extends ContainerLifeCycle
|
public class ServletTester extends ContainerLifeCycle
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue