- 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
Modifier and Type Method Description Stringaddress()WebServiceDefaddress(String address)protected WebServiceDefcopy(String serviceName, String address, int port, boolean isSecure, String spaceName, UriPath documentRoot, UriPath resourceRoot, WarpSettings warpSettings)voiddebug(Output<?> output)Writes a developer readable, debug-formatted string representation of this object tooutput.UriPathdocumentRoot()WebServiceDefdocumentRoot(UriPath documentRoot)booleanequals(Object other)inthashCode()intport()WebServiceDefport(int port)UriPathresourceRoot()WebServiceDefresourceRoot(UriPath resourceRoot)static WebServiceDefsecure()StringserviceName()WebServiceDefserviceName(String serviceName)StringspaceName()WebServiceDefspaceName(String spaceName)static WebServiceDefstandard()StringtoString()WarpSettingswarpSettings()WebServiceDefwarpSettings(WarpSettings warpSettings)
-
-
-
Method Detail
-
standard
public static WebServiceDef standard()
-
secure
public static WebServiceDef secure()
-
serviceName
public final String serviceName()
- Specified by:
serviceNamein 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 void debug(Output<?> output)
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
-
-