public final class WebSocketUpstream extends CommonUpstream
| Modifier and Type | Class and Description |
|---|---|
static class |
WebSocketUpstream.Builder
class builder.
|
| Modifier and Type | Method and Description |
|---|---|
static WebSocketUpstream.Builder |
builder()
class builder.
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getHost()
get host.
|
java.lang.String |
getUrl()
get url.
|
int |
getWarmup()
get warmup.
|
int |
getWeight()
get weight.
|
int |
hashCode() |
void |
setHost(java.lang.String host)
set host.
|
void |
setUrl(java.lang.String url)
set url.
|
void |
setWarmup(int warmup)
set warmup.
|
void |
setWeight(int weight)
set weight.
|
java.lang.String |
toString() |
defaultStatus, getProtocol, getTimestamp, getUpstreamHost, getUpstreamUrl, isStatus, setProtocol, setStatus, setTimestamp, setUpstreamHost, setUpstreamUrlpublic static WebSocketUpstream.Builder builder()
public java.lang.String getHost()
public void setHost(java.lang.String host)
host - upstreamHostpublic java.lang.String getUrl()
public void setUrl(java.lang.String url)
url - urlpublic int getWeight()
public void setWeight(int weight)
weight - weightpublic int getWarmup()
public void setWarmup(int warmup)
warmup - warmuppublic boolean equals(java.lang.Object o)
equals in class CommonUpstreampublic int hashCode()
hashCode in class CommonUpstreampublic java.lang.String toString()
toString in class CommonUpstreamCopyright © 2024 The Apache Software Foundation. All rights reserved.