- 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, String routerClass, UriPath documentRoot, UriPath resourceRoot, WarpSettings warpSettings)
-
Method Summary
-
-
-
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, String routerClass, 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()
-
-