- java.lang.Object
-
- swim.system.AbstractWarpRef
-
- swim.system.AbstractTierBinding
-
- swim.system.LaneView
-
- swim.system.http.HttpLaneView<V>
-
- swim.system.http.RestLaneView<V>
-
- All Implemented Interfaces:
DownlinkFactory
,HttpLane<V>
,Lane
,WarpRef
,Observable<Object>
,CellContext
,TierBinding
,Log
public class RestLaneView<V> extends HttpLaneView<V>
-
-
Field Summary
Fields Modifier and Type Field Description protected AgentContext
agentContext
protected RestLaneModel
laneBinding
-
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 RestLaneView(AgentContext agentContext, Object observers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentContext
agentContext()
void
close()
RestLaneModel
createLaneBinding()
RestLaneView<V>
decodeRequest(DecodeRequestHttp<V> decodeRequest)
RestLaneView<V>
didRequest(DidRequestHttp<V> didRequest)
RestLaneView<V>
didRespond(DidRespondHttp<?> didRespond)
RestLaneView<V>
doRespond(DoRespondHttp<V> doRespond)
RestLaneModel
laneBinding()
RestLaneView<V>
observe(Object observer)
RestLaneView<V>
unobserve(Object observer)
RestLaneView<V>
willRequest(WillRequestHttp<?> willRequest)
RestLaneView<V>
willRespond(WillRespondHttp<?> willRespond)
-
Methods inherited from class swim.system.http.HttpLaneView
dispatchDecodeRequest, dispatchDidRequest, dispatchDidRespond, dispatchDoRespond, dispatchWillRequest, dispatchWillRespond, laneDecodeRequest, laneDidRequest, laneDidRespond, laneDoRespond, laneWillRequest, laneWillRespond
-
Methods inherited from class swim.system.LaneView
bindDownlink, bottomLane, cellAddress, closeDownlink, debug, edgeName, error, fail, hostUri, info, 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
-
-
-
-
Field Detail
-
agentContext
protected final AgentContext agentContext
-
laneBinding
protected RestLaneModel laneBinding
-
-
Constructor Detail
-
RestLaneView
public RestLaneView(AgentContext agentContext, Object observers)
-
-
Method Detail
-
agentContext
public AgentContext agentContext()
- Specified by:
agentContext
in classLaneView
-
laneBinding
public RestLaneModel laneBinding()
- Specified by:
laneBinding
in classLaneView
-
createLaneBinding
public RestLaneModel createLaneBinding()
- Specified by:
createLaneBinding
in classLaneView
-
close
public void close()
-
observe
public RestLaneView<V> observe(Object observer)
-
unobserve
public RestLaneView<V> unobserve(Object observer)
-
decodeRequest
public RestLaneView<V> decodeRequest(DecodeRequestHttp<V> decodeRequest)
- Specified by:
decodeRequest
in interfaceHttpLane<V>
- Specified by:
decodeRequest
in classHttpLaneView<V>
-
willRequest
public RestLaneView<V> willRequest(WillRequestHttp<?> willRequest)
- Specified by:
willRequest
in interfaceHttpLane<V>
- Specified by:
willRequest
in classHttpLaneView<V>
-
didRequest
public RestLaneView<V> didRequest(DidRequestHttp<V> didRequest)
- Specified by:
didRequest
in interfaceHttpLane<V>
- Specified by:
didRequest
in classHttpLaneView<V>
-
doRespond
public RestLaneView<V> doRespond(DoRespondHttp<V> doRespond)
-
willRespond
public RestLaneView<V> willRespond(WillRespondHttp<?> willRespond)
- Specified by:
willRespond
in interfaceHttpLane<V>
- Specified by:
willRespond
in classHttpLaneView<V>
-
didRespond
public RestLaneView<V> didRespond(DidRespondHttp<?> didRespond)
- Specified by:
didRespond
in interfaceHttpLane<V>
- Specified by:
didRespond
in classHttpLaneView<V>
-
-