- java.lang.Object
-
- swim.runtime.AbstractWarpRef
-
- swim.runtime.AbstractTierBinding
-
- swim.runtime.LaneView
-
- swim.runtime.http.HttpLaneView<V>
-
- All Implemented Interfaces:
DownlinkFactory,HttpLane<V>,Lane,WarpRef,Observable<Object>,CellContext,TierBinding,Log
- Direct Known Subclasses:
RestLaneView
public abstract class HttpLaneView<V> extends LaneView implements HttpLane<V>
-
-
Field Summary
-
Fields inherited from class swim.runtime.AbstractTierBinding
CLOSED_PHASE, CLOSED_STATE, CLOSING_STATE, FAILED_STATE, FAILING_STATE, LOADED_PHASE, LOADED_STATE, LOADING_STATE, OPENED_PHASE, OPENED_STATE, OPENING_STATE, PHASE_MASK, PHASE_SHIFT, RECOVERING_STATE, STARTED_PHASE, STARTED_STATE, STARTING_STATE, STATE_MASK, status, STATUS, STOPPING_STATE, UNLOADING_STATE
-
-
Constructor Summary
Constructors Constructor Description HttpLaneView(Object observers)
-
Method Summary
-
Methods inherited from class swim.runtime.LaneView
agentContext, bindDownlink, bottomLane, cellAddress, close, closeDownlink, createLaneBinding, debug, edgeName, error, fail, hostUri, info, laneBinding, laneContext, laneDidFail, laneUri, meshUri, nodeUri, openDownlink, openMetaDownlink, policy, pushDown, reportDown, schedule, stage, store, tierContext, trace, unwrapLane, warn
-
Methods inherited from class swim.runtime.AbstractTierBinding
activate, didClose, didFail, didLoad, didOpen, didStart, didStop, didUnload, isClosed, isLoaded, isOpened, isStarted, load, open, start, stop, unload, willClose, willLoad, willOpen, willStart, willStop, willUnload
-
Methods inherited from class swim.runtime.AbstractWarpRef
command, command, command, command, command, command, command, command, command, command, command, command, command, command, command, command, downlink, downlinkHttp, downlinkList, downlinkMap, downlinkValue, downlinkWs, hostRef, hostRef, laneRef, laneRef, laneRef, laneRef, nodeRef, nodeRef, nodeRef, nodeRef
-
-
-
-
Constructor Detail
-
HttpLaneView
public HttpLaneView(Object observers)
-
-
Method Detail
-
observe
public HttpLaneView<V> observe(Object observer)
-
unobserve
public HttpLaneView<V> unobserve(Object observer)
-
decodeRequest
public abstract HttpLaneView<V> decodeRequest(DecodeRequestHttp<V> decodeRequest)
- Specified by:
decodeRequestin interfaceHttpLane<V>
-
willRequest
public abstract HttpLaneView<V> willRequest(WillRequestHttp<?> willRequest)
- Specified by:
willRequestin interfaceHttpLane<V>
-
didRequest
public abstract HttpLaneView<V> didRequest(DidRequestHttp<V> didRequest)
- Specified by:
didRequestin interfaceHttpLane<V>
-
doRespond
public abstract HttpLaneView<V> doRespond(DoRespondHttp<V> doRespond)
-
willRespond
public abstract HttpLaneView<V> willRespond(WillRespondHttp<?> willRespond)
- Specified by:
willRespondin interfaceHttpLane<V>
-
didRespond
public abstract HttpLaneView<V> didRespond(DidRespondHttp<?> didRespond)
- Specified by:
didRespondin interfaceHttpLane<V>
-
dispatchDecodeRequest
protected Decoder<Object> dispatchDecodeRequest(HttpUplink uplink, HttpRequest<?> request)
-
dispatchWillRequest
protected boolean dispatchWillRequest(HttpUplink uplink, HttpRequest<?> request, boolean preemptive)
-
dispatchDidRequest
protected boolean dispatchDidRequest(HttpUplink uplink, HttpRequest<Object> request, boolean preemptive)
-
dispatchDoRespond
protected Object dispatchDoRespond(HttpUplink uplink, HttpRequest<Object> request, boolean preemptive)
-
dispatchWillRespond
protected boolean dispatchWillRespond(HttpUplink uplink, HttpResponse<?> response, boolean preemptive)
-
dispatchDidRespond
protected boolean dispatchDidRespond(HttpUplink uplink, HttpResponse<?> response, boolean preemptive)
-
laneDecodeRequest
public Decoder<Object> laneDecodeRequest(HttpUplink uplink, HttpRequest<?> request)
-
laneWillRequest
public void laneWillRequest(HttpUplink uplink, HttpRequest<?> request)
-
laneDidRequest
public void laneDidRequest(HttpUplink uplink, HttpRequest<Object> request)
-
laneDoRespond
public HttpResponse<?> laneDoRespond(HttpUplink uplink, HttpRequest<Object> request)
-
laneWillRespond
public void laneWillRespond(HttpUplink uplink, HttpResponse<?> response)
-
laneDidRespond
public void laneDidRespond(HttpUplink uplink, HttpResponse<?> response)
-
-