- java.lang.Object
-
- swim.runtime.AbstractWarpRef
-
- swim.runtime.AbstractTierBinding
-
- swim.runtime.LaneView
-
- swim.runtime.http.HttpLaneView<V>
-
- swim.runtime.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 AgentContextagentContextprotected RestLaneModellaneBinding-
Fields inherited from class swim.runtime.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 AgentContextagentContext()voidclose()RestLaneModelcreateLaneBinding()RestLaneView<V>decodeRequest(DecodeRequestHttp<V> decodeRequest)RestLaneView<V>didRequest(DidRequestHttp<V> didRequest)RestLaneView<V>didRespond(DidRespondHttp<?> didRespond)RestLaneView<V>doRespond(DoRespondHttp<V> doRespond)RestLaneModellaneBinding()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.runtime.http.HttpLaneView
dispatchDecodeRequest, dispatchDidRequest, dispatchDidRespond, dispatchDoRespond, dispatchWillRequest, dispatchWillRespond, laneDecodeRequest, laneDidRequest, laneDidRespond, laneDoRespond, laneWillRequest, laneWillRespond
-
Methods inherited from class swim.runtime.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.runtime.AbstractTierBinding
activate, 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.runtime.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:
agentContextin classLaneView
-
laneBinding
public RestLaneModel laneBinding()
- Specified by:
laneBindingin classLaneView
-
createLaneBinding
public RestLaneModel createLaneBinding()
- Specified by:
createLaneBindingin 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:
decodeRequestin interfaceHttpLane<V>- Specified by:
decodeRequestin classHttpLaneView<V>
-
willRequest
public RestLaneView<V> willRequest(WillRequestHttp<?> willRequest)
- Specified by:
willRequestin interfaceHttpLane<V>- Specified by:
willRequestin classHttpLaneView<V>
-
didRequest
public RestLaneView<V> didRequest(DidRequestHttp<V> didRequest)
- Specified by:
didRequestin interfaceHttpLane<V>- Specified by:
didRequestin classHttpLaneView<V>
-
doRespond
public RestLaneView<V> doRespond(DoRespondHttp<V> doRespond)
-
willRespond
public RestLaneView<V> willRespond(WillRespondHttp<?> willRespond)
- Specified by:
willRespondin interfaceHttpLane<V>- Specified by:
willRespondin classHttpLaneView<V>
-
didRespond
public RestLaneView<V> didRespond(DidRespondHttp<?> didRespond)
- Specified by:
didRespondin interfaceHttpLane<V>- Specified by:
didRespondin classHttpLaneView<V>
-
-