- java.lang.Object
-
- swim.system.http.HttpErrorUplinkModem
-
- All Implemented Interfaces:
HttpContext
,LinkContext
public class HttpErrorUplinkModem extends Object implements HttpContext
-
-
Field Summary
Fields Modifier and Type Field Description protected HttpBinding
linkBinding
-
Constructor Summary
Constructors Constructor Description HttpErrorUplinkModem(HttpBinding linkBinding)
-
Method Summary
-
-
-
Field Detail
-
linkBinding
protected final HttpBinding linkBinding
-
-
Constructor Detail
-
HttpErrorUplinkModem
public HttpErrorUplinkModem(HttpBinding linkBinding)
-
-
Method Detail
-
linkWrapper
public final HttpBinding linkWrapper()
- Specified by:
linkWrapper
in interfaceHttpContext
- Specified by:
linkWrapper
in interfaceLinkContext
-
linkBinding
public final HttpBinding linkBinding()
-
unwrapLink
public <T> T unwrapLink(Class<T> linkClass)
- Specified by:
unwrapLink
in interfaceLinkContext
-
bottomLink
public <T> T bottomLink(Class<T> linkClass)
- Specified by:
bottomLink
in interfaceLinkContext
-
linkKey
public Value linkKey()
- Specified by:
linkKey
in interfaceLinkContext
-
cellAddressUp
public LinkAddress cellAddressUp()
- Specified by:
cellAddressUp
in interfaceLinkContext
-
isConnectedUp
public boolean isConnectedUp()
- Specified by:
isConnectedUp
in interfaceLinkContext
-
isRemoteUp
public boolean isRemoteUp()
- Specified by:
isRemoteUp
in interfaceLinkContext
-
isSecureUp
public boolean isSecureUp()
- Specified by:
isSecureUp
in interfaceLinkContext
-
securityProtocolUp
public String securityProtocolUp()
- Specified by:
securityProtocolUp
in interfaceLinkContext
-
cipherSuiteUp
public String cipherSuiteUp()
- Specified by:
cipherSuiteUp
in interfaceLinkContext
-
localAddressUp
public InetSocketAddress localAddressUp()
- Specified by:
localAddressUp
in interfaceLinkContext
-
localIdentityUp
public Identity localIdentityUp()
- Specified by:
localIdentityUp
in interfaceLinkContext
-
localPrincipalUp
public Principal localPrincipalUp()
- Specified by:
localPrincipalUp
in interfaceLinkContext
-
localCertificatesUp
public Collection<Certificate> localCertificatesUp()
- Specified by:
localCertificatesUp
in interfaceLinkContext
-
remoteAddressUp
public InetSocketAddress remoteAddressUp()
- Specified by:
remoteAddressUp
in interfaceLinkContext
-
remoteIdentityUp
public Identity remoteIdentityUp()
- Specified by:
remoteIdentityUp
in interfaceLinkContext
-
remotePrincipalUp
public Principal remotePrincipalUp()
- Specified by:
remotePrincipalUp
in interfaceLinkContext
-
remoteCertificatesUp
public Collection<Certificate> remoteCertificatesUp()
- Specified by:
remoteCertificatesUp
in interfaceLinkContext
-
decodeRequest
public Decoder<Object> decodeRequest(HttpRequest<?> request)
- Specified by:
decodeRequest
in interfaceHttpContext
-
willRequest
public void willRequest(HttpRequest<?> request)
- Specified by:
willRequest
in interfaceHttpContext
-
didRequest
public void didRequest(HttpRequest<Object> request)
- Specified by:
didRequest
in interfaceHttpContext
-
doRespond
public void doRespond(HttpRequest<Object> request)
- Specified by:
doRespond
in interfaceHttpContext
-
willRespond
public void willRespond(HttpResponse<?> response)
- Specified by:
willRespond
in interfaceHttpContext
-
didRespond
public void didRespond(HttpResponse<?> response)
- Specified by:
didRespond
in interfaceHttpContext
-
openMetaUplink
public void openMetaUplink(LinkBinding uplink, NodeBinding metaUplink)
- Specified by:
openMetaUplink
in interfaceLinkContext
-
close
public void close()
-
closeUp
public void closeUp()
- Specified by:
closeUp
in interfaceLinkContext
-
didOpenDown
public void didOpenDown()
- Specified by:
didOpenDown
in interfaceLinkContext
-
didCloseDown
public void didCloseDown()
- Specified by:
didCloseDown
in interfaceLinkContext
-
didFailDown
public void didFailDown(Throwable error)
- Specified by:
didFailDown
in interfaceLinkContext
-
traceUp
public void traceUp(Object message)
- Specified by:
traceUp
in interfaceLinkContext
-
debugUp
public void debugUp(Object message)
- Specified by:
debugUp
in interfaceLinkContext
-
infoUp
public void infoUp(Object message)
- Specified by:
infoUp
in interfaceLinkContext
-
warnUp
public void warnUp(Object message)
- Specified by:
warnUp
in interfaceLinkContext
-
errorUp
public void errorUp(Object message)
- Specified by:
errorUp
in interfaceLinkContext
-
failUp
public void failUp(Object message)
- Specified by:
failUp
in interfaceLinkContext
-
-