- java.lang.Object
-
- swim.system.AbstractUplinkContext
-
- swim.system.http.HttpUplinkModem
-
- swim.system.http.RestLaneUplink
-
- All Implemented Interfaces:
HttpLink
,HttpUplink
,Link
,Uplink
,Observable<Object>
,HttpContext
,LinkContext
,Log
public class RestLaneUplink extends HttpUplinkModem
-
-
Field Summary
Fields Modifier and Type Field Description protected RestLaneModel
laneBinding
-
Fields inherited from class swim.system.http.HttpUplinkModem
linkBinding, linkKey
-
Fields inherited from class swim.system.AbstractUplinkContext
observers
-
-
Constructor Summary
Constructors Constructor Description RestLaneUplink(RestLaneModel laneBinding, HttpBinding linkBinding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Decoder<Object>
decodeRequest(HttpRequest<?> request)
void
didRequest(HttpRequest<Object> request)
void
didRespond(HttpResponse<?> response)
void
doRespond(HttpRequest<Object> request)
RestLaneModel
laneBinding()
Stage
stage()
void
willRequest(HttpRequest<?> request)
void
willRespond(HttpResponse<?> response)
-
Methods inherited from class swim.system.http.HttpUplinkModem
hostUri, laneUri, linkBinding, linkKey, linkWrapper, nodeUri, observe, openMetaUplink, request, requestUri, unobserve, writeResponse
-
Methods inherited from class swim.system.AbstractUplinkContext
bottomLink, cellAddressUp, cipherSuite, cipherSuiteUp, close, closeUp, debug, debugUp, didClose, didCloseDown, didFail, didFailDown, didOpenDown, error, errorUp, fail, failUp, info, infoUp, isConnected, isConnectedUp, isRemote, isRemoteUp, isSecure, isSecureUp, localAddress, localAddressUp, localCertificates, localCertificatesUp, localIdentity, localIdentityUp, localPrincipal, localPrincipalUp, remoteAddress, remoteAddressUp, remoteCertificates, remoteCertificatesUp, remoteIdentity, remoteIdentityUp, remotePrincipal, remotePrincipalUp, securityProtocol, securityProtocolUp, trace, traceUp, unwrapLink, warn, warnUp
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface swim.api.Link
cipherSuite, close, isConnected, isRemote, isSecure, localAddress, localCertificates, localIdentity, localPrincipal, remoteAddress, remoteCertificates, remoteIdentity, remotePrincipal, securityProtocol
-
Methods inherited from interface swim.system.LinkContext
bottomLink, cellAddressUp, cipherSuiteUp, closeUp, debugUp, didCloseDown, didFailDown, didOpenDown, errorUp, failUp, infoUp, isConnectedUp, isRemoteUp, isSecureUp, localAddressUp, localCertificatesUp, localIdentityUp, localPrincipalUp, remoteAddressUp, remoteCertificatesUp, remoteIdentityUp, remotePrincipalUp, securityProtocolUp, traceUp, unwrapLink, warnUp
-
-
-
-
Field Detail
-
laneBinding
protected final RestLaneModel laneBinding
-
-
Constructor Detail
-
RestLaneUplink
public RestLaneUplink(RestLaneModel laneBinding, HttpBinding linkBinding)
-
-
Method Detail
-
laneBinding
public final RestLaneModel laneBinding()
- Specified by:
laneBinding
in classAbstractUplinkContext
-
stage
public Stage stage()
- Specified by:
stage
in classAbstractUplinkContext
-
decodeRequest
public Decoder<Object> decodeRequest(HttpRequest<?> request)
- Specified by:
decodeRequest
in interfaceHttpContext
- Specified by:
decodeRequest
in classHttpUplinkModem
-
willRequest
public void willRequest(HttpRequest<?> request)
- Specified by:
willRequest
in interfaceHttpContext
- Specified by:
willRequest
in classHttpUplinkModem
-
didRequest
public void didRequest(HttpRequest<Object> request)
- Specified by:
didRequest
in interfaceHttpContext
- Specified by:
didRequest
in classHttpUplinkModem
-
doRespond
public void doRespond(HttpRequest<Object> request)
- Specified by:
doRespond
in interfaceHttpContext
- Specified by:
doRespond
in classHttpUplinkModem
-
willRespond
public void willRespond(HttpResponse<?> response)
- Specified by:
willRespond
in interfaceHttpContext
- Specified by:
willRespond
in classHttpUplinkModem
-
didRespond
public void didRespond(HttpResponse<?> response)
- Specified by:
didRespond
in interfaceHttpContext
- Specified by:
didRespond
in classHttpUplinkModem
-
-