- java.lang.Object
-
- swim.service.web.HttpLaneResponder
-
- All Implemented Interfaces:
HttpResponder<Object>
,HttpBinding
,LinkBinding
public class HttpLaneResponder extends Object implements HttpBinding, HttpResponder<Object>
-
-
Method Summary
-
-
-
Method Detail
-
linkWrapper
public HttpBinding linkWrapper()
- Specified by:
linkWrapper
in interfaceHttpBinding
- Specified by:
linkWrapper
in interfaceLinkBinding
-
linkContext
public HttpContext linkContext()
- Specified by:
linkContext
in interfaceHttpBinding
- Specified by:
linkContext
in interfaceLinkBinding
-
setLinkContext
public void setLinkContext(LinkContext linkContext)
- Specified by:
setLinkContext
in interfaceLinkBinding
-
cellContext
public CellContext cellContext()
- Specified by:
cellContext
in interfaceLinkBinding
-
setCellContext
public void setCellContext(CellContext cellContext)
- Specified by:
setCellContext
in interfaceLinkBinding
-
httpResponderContext
public HttpResponderContext httpResponderContext()
- Specified by:
httpResponderContext
in interfaceHttpResponder<Object>
-
setHttpResponderContext
public void setHttpResponderContext(HttpResponderContext httpResponderContext)
- Specified by:
setHttpResponderContext
in interfaceHttpResponder<Object>
-
unwrapLink
public <T> T unwrapLink(Class<T> linkClass)
- Specified by:
unwrapLink
in interfaceLinkBinding
-
bottomLink
public <T> T bottomLink(Class<T> linkClass)
- Specified by:
bottomLink
in interfaceLinkBinding
-
meshUri
public Uri meshUri()
- Specified by:
meshUri
in interfaceLinkBinding
-
hostUri
public Uri hostUri()
- Specified by:
hostUri
in interfaceLinkBinding
-
setHostUri
public void setHostUri(Uri hostUri)
- Specified by:
setHostUri
in interfaceLinkBinding
-
nodeUri
public Uri nodeUri()
- Specified by:
nodeUri
in interfaceLinkBinding
-
setNodeUri
public void setNodeUri(Uri nodeUri)
- Specified by:
setNodeUri
in interfaceLinkBinding
-
laneUri
public Uri laneUri()
- Specified by:
laneUri
in interfaceLinkBinding
-
linkKey
public Value linkKey()
- Specified by:
linkKey
in interfaceLinkBinding
-
cellAddressDown
public LinkAddress cellAddressDown()
- Specified by:
cellAddressDown
in interfaceLinkBinding
-
requestUri
public Uri requestUri()
- Specified by:
requestUri
in interfaceHttpBinding
-
request
public HttpRequest<?> request()
- Specified by:
request
in interfaceHttpBinding
-
isConnectedDown
public boolean isConnectedDown()
- Specified by:
isConnectedDown
in interfaceLinkBinding
-
isRemoteDown
public boolean isRemoteDown()
- Specified by:
isRemoteDown
in interfaceLinkBinding
-
isSecureDown
public boolean isSecureDown()
- Specified by:
isSecureDown
in interfaceLinkBinding
-
securityProtocolDown
public String securityProtocolDown()
- Specified by:
securityProtocolDown
in interfaceLinkBinding
-
cipherSuiteDown
public String cipherSuiteDown()
- Specified by:
cipherSuiteDown
in interfaceLinkBinding
-
localAddressDown
public InetSocketAddress localAddressDown()
- Specified by:
localAddressDown
in interfaceLinkBinding
-
localIdentityDown
public Identity localIdentityDown()
- Specified by:
localIdentityDown
in interfaceLinkBinding
-
localPrincipalDown
public Principal localPrincipalDown()
- Specified by:
localPrincipalDown
in interfaceLinkBinding
-
localCertificatesDown
public Collection<Certificate> localCertificatesDown()
- Specified by:
localCertificatesDown
in interfaceLinkBinding
-
remoteAddressDown
public InetSocketAddress remoteAddressDown()
- Specified by:
remoteAddressDown
in interfaceLinkBinding
-
remoteIdentityDown
public Identity remoteIdentityDown()
- Specified by:
remoteIdentityDown
in interfaceLinkBinding
-
remotePrincipalDown
public Principal remotePrincipalDown()
- Specified by:
remotePrincipalDown
in interfaceLinkBinding
-
remoteCertificatesDown
public Collection<Certificate> remoteCertificatesDown()
- Specified by:
remoteCertificatesDown
in interfaceLinkBinding
-
doRequest
public HttpRequest<?> doRequest()
- Specified by:
doRequest
in interfaceHttpBinding
-
contentDecoder
public Decoder<Object> contentDecoder(HttpRequest<?> request)
- Specified by:
contentDecoder
in interfaceHttpResponder<Object>
-
willRequest
public void willRequest(HttpRequest<?> request)
- Specified by:
willRequest
in interfaceHttpResponder<Object>
-
didRequest
public void didRequest(HttpRequest<Object> request)
- Specified by:
didRequest
in interfaceHttpResponder<Object>
-
doRespond
public void doRespond(HttpRequest<Object> request)
- Specified by:
doRespond
in interfaceHttpResponder<Object>
-
writeResponse
public void writeResponse(HttpResponse<?> response)
- Specified by:
writeResponse
in interfaceHttpBinding
-
willRespond
public void willRespond(HttpResponse<?> response)
- Specified by:
willRespond
in interfaceHttpResponder<Object>
-
didRespond
public void didRespond(HttpResponse<?> response)
- Specified by:
didRespond
in interfaceHttpResponder<Object>
-
openMetaDownlink
public void openMetaDownlink(LinkBinding downlink, NodeBinding metaDownlink)
- Specified by:
openMetaDownlink
in interfaceLinkBinding
-
willBecome
public void willBecome(IpSocket socket)
- Specified by:
willBecome
in interfaceHttpResponder<Object>
-
didBecome
public void didBecome(IpSocket socket)
- Specified by:
didBecome
in interfaceHttpResponder<Object>
-
didTimeout
public void didTimeout()
- Specified by:
didTimeout
in interfaceHttpResponder<Object>
-
didConnect
public void didConnect()
- Specified by:
didConnect
in interfaceLinkBinding
-
didDisconnect
public void didDisconnect()
- Specified by:
didDisconnect
in interfaceHttpResponder<Object>
- Specified by:
didDisconnect
in interfaceLinkBinding
-
reopen
public void reopen()
- Specified by:
reopen
in interfaceLinkBinding
-
openDown
public void openDown()
- Specified by:
openDown
in interfaceLinkBinding
-
closeDown
public void closeDown()
- Specified by:
closeDown
in interfaceLinkBinding
-
didCloseUp
public void didCloseUp()
- Specified by:
didCloseUp
in interfaceLinkBinding
-
didFailUp
public void didFailUp(Throwable error)
- Specified by:
didFailUp
in interfaceLinkBinding
-
didFail
public void didFail(Throwable error)
- Specified by:
didFail
in interfaceHttpResponder<Object>
- Specified by:
didFail
in interfaceLinkBinding
-
traceDown
public void traceDown(Object message)
- Specified by:
traceDown
in interfaceLinkBinding
-
debugDown
public void debugDown(Object message)
- Specified by:
debugDown
in interfaceLinkBinding
-
infoDown
public void infoDown(Object message)
- Specified by:
infoDown
in interfaceLinkBinding
-
warnDown
public void warnDown(Object message)
- Specified by:
warnDown
in interfaceLinkBinding
-
errorDown
public void errorDown(Object message)
- Specified by:
errorDown
in interfaceLinkBinding
-
failDown
public void failDown(Object message)
- Specified by:
failDown
in interfaceLinkBinding
-
-