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
-
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
-
Method Summary
Modifier and TypeMethodDescriptionabstract HttpLaneView<V>
decodeRequest
(DecodeRequestHttp<V> decodeRequest) abstract HttpLaneView<V>
didRequest
(DidRequestHttp<V> didRequest) abstract HttpLaneView<V>
didRespond
(DidRespondHttp<?> didRespond) dispatchDecodeRequest
(HttpUplink uplink, HttpRequest<?> request) protected boolean
dispatchDidRequest
(HttpUplink uplink, HttpRequest<Object> request, boolean preemptive) protected boolean
dispatchDidRespond
(HttpUplink uplink, HttpResponse<?> response, boolean preemptive) protected Object
dispatchDoRespond
(HttpUplink uplink, HttpRequest<Object> request, boolean preemptive) protected boolean
dispatchWillRequest
(HttpUplink uplink, HttpRequest<?> request, boolean preemptive) protected boolean
dispatchWillRespond
(HttpUplink uplink, HttpResponse<?> response, boolean preemptive) abstract HttpLaneView<V>
doRespond
(DoRespondHttp<V> doRespond) laneDecodeRequest
(HttpUplink uplink, HttpRequest<?> request) void
laneDidRequest
(HttpUplink uplink, HttpRequest<Object> request) void
laneDidRespond
(HttpUplink uplink, HttpResponse<?> response) HttpResponse<?>
laneDoRespond
(HttpUplink uplink, HttpRequest<Object> request) void
laneWillRequest
(HttpUplink uplink, HttpRequest<?> request) void
laneWillRespond
(HttpUplink uplink, HttpResponse<?> response) abstract HttpLaneView<V>
willRequest
(WillRequestHttp<?> willRequest) abstract HttpLaneView<V>
willRespond
(WillRespondHttp<?> willRespond) 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 Details
-
HttpLaneView
-
-
Method Details
-
observe
-
unobserve
-
decodeRequest
- Specified by:
decodeRequest
in interfaceHttpLane<V>
-
willRequest
- Specified by:
willRequest
in interfaceHttpLane<V>
-
didRequest
- Specified by:
didRequest
in interfaceHttpLane<V>
-
doRespond
-
willRespond
- Specified by:
willRespond
in interfaceHttpLane<V>
-
didRespond
- Specified by:
didRespond
in interfaceHttpLane<V>
-
dispatchDecodeRequest
-
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
-
laneWillRequest
-
laneDidRequest
-
laneDoRespond
-
laneWillRespond
-
laneDidRespond
-