Class HttpServer
java.lang.Object
org.eclipse.aether.internal.test.util.http.HttpServer
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetHost()
int
int
setAuthentication
(String username, String password) setChecksumHeader
(HttpServer.ChecksumHeader checksumHeader) setConnectionsToClose
(int connectionsToClose) setExpectSupport
(HttpServer.ExpectContinue expectContinue) setProxyAuthentication
(String username, String password) setRangeSupport
(boolean rangeSupport) setRepoDir
(File repoDir) setServerErrorsBeforeWorks
(int serverErrorsBeforeWorks) setWebDav
(boolean webDav) start()
void
stop()
-
Constructor Details
-
HttpServer
public HttpServer()
-
-
Method Details
-
getHost
-
getHttpPort
-
getHttpsPort
-
getHttpUrl
-
getHttpsUrl
-
addSslConnector
-
addSelfSignedSslConnector
-
addSelfSignedSslConnectorHttp2Only
-
getLogEntries
-
setRepoDir
-
setRangeSupport
-
setWebDav
-
setExpectSupport
-
setChecksumHeader
-
setAuthentication
-
setProxyAuthentication
-
setConnectionsToClose
-
setServerErrorsBeforeWorks
-
start
- Throws:
Exception
-
stop
- Throws:
Exception
-