- java.lang.Object
-
- swim.service.web.WebServiceDef
-
- All Implemented Interfaces:
swim.api.service.ServiceDef,swim.codec.Debug
public class WebServiceDef extends Object implements swim.api.service.ServiceDef, swim.codec.Debug
-
-
Constructor Summary
Constructors Constructor Description WebServiceDef(String serviceName, String address, int port, boolean isSecure, String spaceName, swim.uri.UriPath documentRoot, swim.uri.UriPath resourceRoot, swim.io.warp.WarpSettings warpSettings)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaddress()WebServiceDefaddress(String address)protected WebServiceDefcopy(String serviceName, String address, int port, boolean isSecure, String spaceName, swim.uri.UriPath documentRoot, swim.uri.UriPath resourceRoot, swim.io.warp.WarpSettings warpSettings)<T> swim.codec.Output<T>debug(swim.codec.Output<T> output)swim.uri.UriPathdocumentRoot()WebServiceDefdocumentRoot(swim.uri.UriPath documentRoot)booleanequals(Object other)inthashCode()intport()WebServiceDefport(int port)swim.uri.UriPathresourceRoot()WebServiceDefresourceRoot(swim.uri.UriPath resourceRoot)static WebServiceDefsecure()StringserviceName()WebServiceDefserviceName(String serviceName)StringspaceName()WebServiceDefspaceName(String spaceName)static WebServiceDefstandard()StringtoString()swim.io.warp.WarpSettingswarpSettings()WebServiceDefwarpSettings(swim.io.warp.WarpSettings warpSettings)
-
-
-
Method Detail
-
serviceName
public final String serviceName()
- Specified by:
serviceNamein interfaceswim.api.service.ServiceDef
-
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 swim.uri.UriPath documentRoot()
-
documentRoot
public WebServiceDef documentRoot(swim.uri.UriPath documentRoot)
-
resourceRoot
public final swim.uri.UriPath resourceRoot()
-
resourceRoot
public WebServiceDef resourceRoot(swim.uri.UriPath resourceRoot)
-
warpSettings
public final swim.io.warp.WarpSettings warpSettings()
-
warpSettings
public WebServiceDef warpSettings(swim.io.warp.WarpSettings warpSettings)
-
copy
protected WebServiceDef copy(String serviceName, String address, int port, boolean isSecure, String spaceName, swim.uri.UriPath documentRoot, swim.uri.UriPath resourceRoot, swim.io.warp.WarpSettings warpSettings)
-
debug
public <T> swim.codec.Output<T> debug(swim.codec.Output<T> output)
- Specified by:
debugin interfaceswim.codec.Debug
-
standard
public static WebServiceDef standard()
-
secure
public static WebServiceDef secure()
-
-