Module swim.runtime

Class RestLaneView<V>

  • All Implemented Interfaces:
    swim.api.downlink.DownlinkFactory, swim.api.http.HttpLane<V>, swim.api.Lane, swim.api.ref.SwimRef, swim.observable.Observable<Object>, CellContext, TierBinding, swim.util.Log

    public class RestLaneView<V>
    extends HttpLaneView<V>
    • Field Detail

      • agentContext

        protected final swim.api.agent.AgentContext agentContext
    • Constructor Detail

      • RestLaneView

        public RestLaneView​(swim.api.agent.AgentContext agentContext,
                            Object observers)
    • Method Detail

      • agentContext

        public swim.api.agent.AgentContext agentContext()
        Specified by:
        agentContext in class LaneView
      • close

        public void close()
        Specified by:
        close in interface swim.api.Lane
        Specified by:
        close in interface swim.api.ref.SwimRef
        Specified by:
        close in interface TierBinding
        Specified by:
        close in class LaneView
      • observe

        public RestLaneView<V> observe​(Object observer)
        Specified by:
        observe in interface swim.api.http.HttpLane<V>
        Specified by:
        observe in interface swim.api.Lane
        Specified by:
        observe in interface swim.observable.Observable<V>
        Overrides:
        observe in class HttpLaneView<V>
      • unobserve

        public RestLaneView<V> unobserve​(Object observer)
        Specified by:
        unobserve in interface swim.api.http.HttpLane<V>
        Specified by:
        unobserve in interface swim.api.Lane
        Specified by:
        unobserve in interface swim.observable.Observable<V>
        Overrides:
        unobserve in class HttpLaneView<V>
      • decodeRequest

        public RestLaneView<V> decodeRequest​(swim.api.http.function.DecodeRequestHttp<V> decodeRequest)
        Specified by:
        decodeRequest in interface swim.api.http.HttpLane<V>
        Specified by:
        decodeRequest in class HttpLaneView<V>
      • willRequest

        public RestLaneView<V> willRequest​(swim.api.http.function.WillRequestHttp<?> willRequest)
        Specified by:
        willRequest in interface swim.api.http.HttpLane<V>
        Specified by:
        willRequest in class HttpLaneView<V>
      • didRequest

        public RestLaneView<V> didRequest​(swim.api.http.function.DidRequestHttp<V> didRequest)
        Specified by:
        didRequest in interface swim.api.http.HttpLane<V>
        Specified by:
        didRequest in class HttpLaneView<V>
      • doRespond

        public RestLaneView<V> doRespond​(swim.api.http.function.DoRespondHttp<V> doRespond)
        Specified by:
        doRespond in interface swim.api.http.HttpLane<V>
        Specified by:
        doRespond in class HttpLaneView<V>
      • willRespond

        public RestLaneView<V> willRespond​(swim.api.http.function.WillRespondHttp<?> willRespond)
        Specified by:
        willRespond in interface swim.api.http.HttpLane<V>
        Specified by:
        willRespond in class HttpLaneView<V>
      • didRespond

        public RestLaneView<V> didRespond​(swim.api.http.function.DidRespondHttp<?> didRespond)
        Specified by:
        didRespond in interface swim.api.http.HttpLane<V>
        Specified by:
        didRespond in class HttpLaneView<V>