public class HttpServer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HttpServer.ChecksumHeader |
static class |
HttpServer.ExpectContinue |
static class |
HttpServer.LogEntry |
Constructor and Description |
---|
HttpServer() |
Modifier and Type | Method and Description |
---|---|
HttpServer |
addSslConnector() |
String |
getHost() |
int |
getHttpPort() |
int |
getHttpsPort() |
String |
getHttpsUrl() |
String |
getHttpUrl() |
List<HttpServer.LogEntry> |
getLogEntries() |
HttpServer |
setAuthentication(String username,
String password) |
HttpServer |
setChecksumHeader(HttpServer.ChecksumHeader checksumHeader) |
HttpServer |
setExpectSupport(HttpServer.ExpectContinue expectContinue) |
HttpServer |
setProxyAuthentication(String username,
String password) |
HttpServer |
setRangeSupport(boolean rangeSupport) |
HttpServer |
setRepoDir(File repoDir) |
HttpServer |
setWebDav(boolean webDav) |
HttpServer |
start() |
void |
stop() |
public HttpServer()
public int getHttpPort()
public int getHttpsPort()
public String getHttpUrl()
public String getHttpsUrl()
public HttpServer addSslConnector()
public List<HttpServer.LogEntry> getLogEntries()
public HttpServer setRepoDir(File repoDir)
public HttpServer setRangeSupport(boolean rangeSupport)
public HttpServer setWebDav(boolean webDav)
public HttpServer setExpectSupport(HttpServer.ExpectContinue expectContinue)
public HttpServer setChecksumHeader(HttpServer.ChecksumHeader checksumHeader)
public HttpServer setAuthentication(String username, String password)
public HttpServer setProxyAuthentication(String username, String password)
public HttpServer start() throws Exception
Exception
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.