- java.lang.Object
-
- swim.service.web.WebServiceDef
-
- All Implemented Interfaces:
ServiceDef
,Debug
public class WebServiceDef extends Object implements ServiceDef, Debug
-
-
Constructor Summary
Constructors Constructor Description WebServiceDef(String serviceName, String address, int port, boolean isSecure, String spaceName, UriPath documentRoot, UriPath resourceRoot, WarpSettings warpSettings)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
address()
WebServiceDef
address(String address)
protected WebServiceDef
copy(String serviceName, String address, int port, boolean isSecure, String spaceName, UriPath documentRoot, UriPath resourceRoot, WarpSettings warpSettings)
<T> Output<T>
debug(Output<T> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.UriPath
documentRoot()
WebServiceDef
documentRoot(UriPath documentRoot)
boolean
equals(Object other)
int
hashCode()
int
port()
WebServiceDef
port(int port)
UriPath
resourceRoot()
WebServiceDef
resourceRoot(UriPath resourceRoot)
static WebServiceDef
secure()
String
serviceName()
WebServiceDef
serviceName(String serviceName)
String
spaceName()
WebServiceDef
spaceName(String spaceName)
static WebServiceDef
standard()
String
toString()
WarpSettings
warpSettings()
WebServiceDef
warpSettings(WarpSettings warpSettings)
-
-
-
Method Detail
-
serviceName
public final String serviceName()
- Specified by:
serviceName
in interfaceServiceDef
-
serviceName
public WebServiceDef serviceName(String serviceName)
-
address
public final String address()
-
address
public WebServiceDef address(String address)
-
port
public final int port()
-
port
public WebServiceDef port(int port)
-
spaceName
public final String spaceName()
-
spaceName
public WebServiceDef spaceName(String spaceName)
-
documentRoot
public final UriPath documentRoot()
-
documentRoot
public WebServiceDef documentRoot(UriPath documentRoot)
-
resourceRoot
public final UriPath resourceRoot()
-
resourceRoot
public WebServiceDef resourceRoot(UriPath resourceRoot)
-
warpSettings
public final WarpSettings warpSettings()
-
warpSettings
public WebServiceDef warpSettings(WarpSettings warpSettings)
-
copy
protected WebServiceDef copy(String serviceName, String address, int port, boolean isSecure, String spaceName, UriPath documentRoot, UriPath resourceRoot, WarpSettings warpSettings)
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
standard
public static WebServiceDef standard()
-
secure
public static WebServiceDef secure()
-
-