public class WebListenerConfig extends Object
WebListener| Constructor and Description |
|---|
WebListenerConfig(String id,
int port) |
WebListenerConfig(String id,
int port,
String protocol) |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Gets the id used for configuring WebListener.
|
int |
getPort()
Gets the port number used for configuring WebListener.
|
String |
getProtocol()
Gets the protocol used for configuring WebListener.
|
boolean |
isTraceEnabled()
Checks if support for TRACE requests is enabled.
|
void |
setId(String id)
Sets the id used for configuring WebListener.
|
void |
setPort(int port)
Sets the port number used for configuring WebListener.
|
void |
setProtocol(String protocol)
Sets the protocol used for configuring WebListener.
|
void |
setTraceEnabled(boolean traceEnabled)
Enables or disables support for TRACE requests.
|
public WebListenerConfig(String id, int port)
public void setId(String id)
public String getId()
public void setPort(int port)
public int getPort()
public void setProtocol(String protocol)
public String getProtocol()
public void setTraceEnabled(boolean traceEnabled)
traceEnabled - true if support for TRACE requests is to be
enabled, false otherwisepublic boolean isTraceEnabled()
Copyright © 2019. All rights reserved.