Module swim.system
Package swim.system.http
Class HttpLaneModel<View extends HttpLaneView<?>,U extends HttpUplinkModem>
java.lang.Object
swim.system.AbstractWarpRef
swim.system.AbstractTierBinding
swim.system.LaneModel<View,U>
swim.system.http.HttpLaneModel<View,U>
- All Implemented Interfaces:
DownlinkFactory
,WarpRef
,CellBinding
,CellContext
,LaneBinding
,TierBinding
,Log
- Direct Known Subclasses:
RestLaneModel
public abstract class HttpLaneModel<View extends HttpLaneView<?>,U extends HttpUplinkModem>
extends LaneModel<View,U>
-
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract U
createHttpUplink
(HttpBinding link) protected U
createUplink
(LinkBinding link) decodeRequest
(U uplink, HttpRequest<?> request) decodeRequestDefault
(U uplink, HttpRequest<?> request) protected void
didOpenLaneView
(View view) protected void
didRequest
(U uplink, HttpRequest<Object> request) protected void
didRespond
(U uplink, HttpResponse<?> response) protected void
doRespond
(U uplink, HttpRequest<Object> request) protected HttpResponse<?>
doRespondDefault
(U uplink, HttpRequest<?> request) laneType()
void
void
pushUpCommand
(Push<CommandMessage> push) protected void
willRequest
(U uplink, HttpRequest<?> request) protected void
willRespond
(U uplink, HttpResponse<?> response) Methods inherited from class swim.system.LaneModel
accumulateExecTime, bindDownlink, bottomLane, cellAddress, closeDownlink, closeLaneView, closeUplink, createUplinkAddress, debug, didClose, didCloseLaneView, didCloseUplink, didFail, didOpenUplink, edgeName, error, fail, getLaneView, getUplink, hostUri, info, isLinked, laneContext, laneUri, laneWrapper, meshUri, node, nodeUri, openDownlink, openLaneView, openMetaDownlink, openMetaLane, openMetaLanes, openMetaUplink, openReflectLanes, openUplink, partKey, policy, pushDown, reportDown, schedule, setLaneContext, stage, store, tierContext, trace, unwrapLane, uplinks, warn, willClose, willLoad, willOpen, willStart, willStop, willUnload
Methods inherited from class swim.system.AbstractTierBinding
activate, awaitStart, close, didLoad, didOpen, didStart, didStop, didUnload, isClosed, isLoaded, isOpened, isStarted, load, open, start, stop, unload
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
-
HttpLaneModel
public HttpLaneModel()
-
-
Method Details
-
laneType
-
createUplink
- Specified by:
createUplink
in classLaneModel<View extends HttpLaneView<?>,
U extends HttpUplinkModem>
-
createHttpUplink
-
pushUp
- Specified by:
pushUp
in interfaceCellBinding
- Specified by:
pushUp
in classLaneModel<View extends HttpLaneView<?>,
U extends HttpUplinkModem>
-
pushUpCommand
- Specified by:
pushUpCommand
in interfaceLaneBinding
- Specified by:
pushUpCommand
in classLaneModel<View extends HttpLaneView<?>,
U extends HttpUplinkModem>
-
didOpenLaneView
- Specified by:
didOpenLaneView
in classLaneModel<View extends HttpLaneView<?>,
U extends HttpUplinkModem>
-
decodeRequestDefault
-
doRespondDefault
-
decodeRequest
-
willRequest
-
didRequest
-
doRespond
-
willRespond
-
didRespond
-