@ConfigurationProperties(prefix="server", ignoreUnknownFields=true) public class ServerProperties extends ObjectSE
@ConfigurationProperties(ポートとパスの設定など)。| 修飾子と型 | クラスと説明 |
|---|---|
static class | ServerProperties.ForwardHeadersStrategy 転送ヘッダーをサポートするための戦略。 |
static class | ServerProperties.JettyJetty プロパティ。 |
static class | ServerProperties.NettyNetty プロパティ。 |
static class | ServerProperties.Servlet サーブレットのプロパティ。 |
static class | ServerProperties.TomcatTomcat プロパティ。 |
static class | ServerProperties.UndertowUndertow プロパティ。 |
| コンストラクターと説明 |
|---|
ServerProperties() |
| 修飾子と型 | メソッドと説明 |
|---|---|
InetAddressSE | getAddress() |
Compression | getCompression() |
DurationSE | getConnectionTimeout() 使用すべきではありません。 |
ErrorProperties | getError() |
ServerProperties.ForwardHeadersStrategy | getForwardHeadersStrategy() |
Http2 | getHttp2() |
ServerProperties.Jetty | getJetty() |
org.springframework.util.unit.DataSize | getMaxHttpHeaderSize() |
ServerProperties.Netty | getNetty() |
IntegerSE | getPort() |
StringSE | getServerHeader() |
ServerProperties.Servlet | getServlet() |
Ssl | getSsl() |
ServerProperties.Tomcat | getTomcat() |
ServerProperties.Undertow | getUndertow() |
BooleanSE | isUseForwardHeaders() |
void | setAddress(InetAddressSE address) |
void | setConnectionTimeout(DurationSE connectionTimeout) 使用すべきではありません。 |
void | setForwardHeadersStrategy(ServerProperties.ForwardHeadersStrategy forwardHeadersStrategy) |
void | setMaxHttpHeaderSize(org.springframework.util.unit.DataSize maxHttpHeaderSize) |
void | setPort(IntegerSE port) |
void | setServerHeader(StringSE serverHeader) |
void | setSsl(Ssl ssl) |
void | setUseForwardHeaders(BooleanSE useForwardHeaders) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic IntegerSE getPort()
public void setPort(IntegerSE port)
public InetAddressSE getAddress()
public void setAddress(InetAddressSE address)
@DeprecatedConfigurationProperty(reason="replaced to support additional strategies", replacement="server.forward-headers-strategy") public BooleanSE isUseForwardHeaders()
public void setUseForwardHeaders(BooleanSE useForwardHeaders)
public StringSE getServerHeader()
public void setServerHeader(StringSE serverHeader)
public org.springframework.util.unit.DataSize getMaxHttpHeaderSize()
public void setMaxHttpHeaderSize(org.springframework.util.unit.DataSize maxHttpHeaderSize)
@DeprecatedSE @DeprecatedConfigurationProperty(reason="Each server behaves differently. Use server specific properties instead.") public DurationSE getConnectionTimeout()
@DeprecatedSE public void setConnectionTimeout(DurationSE connectionTimeout)
public ErrorProperties getError()
public Ssl getSsl()
public void setSsl(Ssl ssl)
public Compression getCompression()
public Http2 getHttp2()
public ServerProperties.Servlet getServlet()
public ServerProperties.Tomcat getTomcat()
public ServerProperties.Jetty getJetty()
public ServerProperties.Netty getNetty()
public ServerProperties.Undertow getUndertow()
public ServerProperties.ForwardHeadersStrategy getForwardHeadersStrategy()
public void setForwardHeadersStrategy(ServerProperties.ForwardHeadersStrategy forwardHeadersStrategy)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.