Class 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 Detail

      • WebServiceDef

        public 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 Detail

      • serviceName

        public final String serviceName()
        Specified by:
        serviceName in interface swim.api.service.ServiceDef
      • address

        public final String address()
      • port

        public final int port()
      • spaceName

        public final 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • debug

        public <T> swim.codec.Output<T> debug​(swim.codec.Output<T> output)
        Specified by:
        debug in interface swim.codec.Debug