Class WebServiceDef

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 Details

    • WebServiceDef

      public WebServiceDef(String serviceName, String address, int port, boolean isSecure, String spaceName, String routerClass, swim.uri.UriPath documentRoot, swim.uri.UriPath resourceRoot, swim.io.warp.WarpSettings warpSettings)
  • Method Details

    • serviceName

      public final String serviceName()
      Specified by:
      serviceName in interface swim.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, String routerClass, swim.uri.UriPath documentRoot, swim.uri.UriPath resourceRoot, swim.io.warp.WarpSettings warpSettings)
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • standard

      public static WebServiceDef standard()
    • secure

      public static WebServiceDef secure()