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 UcreateHttpUplink(HttpBinding link) protected UcreateUplink(LinkBinding link) decodeRequest(U uplink, HttpRequest<?> request) decodeRequestDefault(U uplink, HttpRequest<?> request) protected voiddidOpenLaneView(View view) protected voiddidRequest(U uplink, HttpRequest<Object> request) protected voiddidRespond(U uplink, HttpResponse<?> response) protected voiddoRespond(U uplink, HttpRequest<Object> request) protected HttpResponse<?>doRespondDefault(U uplink, HttpRequest<?> request) laneType()voidvoidpushUpCommand(Push<CommandMessage> push) protected voidwillRequest(U uplink, HttpRequest<?> request) protected voidwillRespond(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, willUnloadMethods inherited from class swim.system.AbstractTierBinding
activate, awaitStart, close, didLoad, didOpen, didStart, didStop, didUnload, isClosed, isLoaded, isOpened, isStarted, load, open, start, stop, unloadMethods 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:
createUplinkin classLaneModel<View extends HttpLaneView<?>,U extends HttpUplinkModem>
-
createHttpUplink
-
pushUp
- Specified by:
pushUpin interfaceCellBinding- Specified by:
pushUpin classLaneModel<View extends HttpLaneView<?>,U extends HttpUplinkModem>
-
pushUpCommand
- Specified by:
pushUpCommandin interfaceLaneBinding- Specified by:
pushUpCommandin classLaneModel<View extends HttpLaneView<?>,U extends HttpUplinkModem>
-
didOpenLaneView
- Specified by:
didOpenLaneViewin classLaneModel<View extends HttpLaneView<?>,U extends HttpUplinkModem>
-
decodeRequestDefault
-
doRespondDefault
-
decodeRequest
-
willRequest
-
didRequest
-
doRespond
-
willRespond
-
didRespond
-