- java.lang.Object
-
- swim.system.AbstractWarpRef
-
- swim.system.AbstractTierBinding
-
- swim.system.LaneView
-
- swim.system.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.system.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.system.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.system.AbstractTierBinding
activate, awaitStart, 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.system.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:
decodeRequest
in interfaceHttpLane<V>
-
willRequest
public abstract HttpLaneView<V> willRequest(WillRequestHttp<?> willRequest)
- Specified by:
willRequest
in interfaceHttpLane<V>
-
didRequest
public abstract HttpLaneView<V> didRequest(DidRequestHttp<V> didRequest)
- Specified by:
didRequest
in interfaceHttpLane<V>
-
doRespond
public abstract HttpLaneView<V> doRespond(DoRespondHttp<V> doRespond)
-
willRespond
public abstract HttpLaneView<V> willRespond(WillRespondHttp<?> willRespond)
- Specified by:
willRespond
in interfaceHttpLane<V>
-
didRespond
public abstract HttpLaneView<V> didRespond(DidRespondHttp<?> didRespond)
- Specified by:
didRespond
in 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)
-
-