Module swim.server
Package swim.server

Class ServerPlaneHttpBinding

  • All Implemented Interfaces:
    swim.io.http.HttpResponder<Object>, swim.runtime.HttpBinding

    public class ServerPlaneHttpBinding
    extends Object
    implements swim.runtime.HttpBinding, swim.io.http.HttpResponder<Object>
    • Method Detail

      • httpContext

        public swim.runtime.HttpContext httpContext()
        Specified by:
        httpContext in interface swim.runtime.HttpBinding
      • setHttpContext

        public void setHttpContext​(swim.runtime.HttpContext httpContext)
        Specified by:
        setHttpContext in interface swim.runtime.HttpBinding
      • httpResponderContext

        public swim.io.http.HttpResponderContext httpResponderContext()
        Specified by:
        httpResponderContext in interface swim.io.http.HttpResponder<Object>
      • setHttpResponderContext

        public void setHttpResponderContext​(swim.io.http.HttpResponderContext httpResponderContext)
        Specified by:
        setHttpResponderContext in interface swim.io.http.HttpResponder<Object>
      • meshUri

        public swim.uri.Uri meshUri()
        Specified by:
        meshUri in interface swim.runtime.HttpBinding
      • hostUri

        public swim.uri.Uri hostUri()
        Specified by:
        hostUri in interface swim.runtime.HttpBinding
      • nodeUri

        public swim.uri.Uri nodeUri()
        Specified by:
        nodeUri in interface swim.runtime.HttpBinding
      • laneUri

        public swim.uri.Uri laneUri()
        Specified by:
        laneUri in interface swim.runtime.HttpBinding
      • requestUri

        public swim.uri.Uri requestUri()
        Specified by:
        requestUri in interface swim.runtime.HttpBinding
      • request

        public swim.http.HttpRequest<?> request()
        Specified by:
        request in interface swim.runtime.HttpBinding
      • isConnectedDown

        public boolean isConnectedDown()
        Specified by:
        isConnectedDown in interface swim.runtime.HttpBinding
      • isRemoteDown

        public boolean isRemoteDown()
        Specified by:
        isRemoteDown in interface swim.runtime.HttpBinding
      • isSecureDown

        public boolean isSecureDown()
        Specified by:
        isSecureDown in interface swim.runtime.HttpBinding
      • securityProtocolDown

        public String securityProtocolDown()
        Specified by:
        securityProtocolDown in interface swim.runtime.HttpBinding
      • cipherSuiteDown

        public String cipherSuiteDown()
        Specified by:
        cipherSuiteDown in interface swim.runtime.HttpBinding
      • localAddressDown

        public InetSocketAddress localAddressDown()
        Specified by:
        localAddressDown in interface swim.runtime.HttpBinding
      • localIdentityDown

        public swim.api.auth.Identity localIdentityDown()
        Specified by:
        localIdentityDown in interface swim.runtime.HttpBinding
      • localPrincipalDown

        public Principal localPrincipalDown()
        Specified by:
        localPrincipalDown in interface swim.runtime.HttpBinding
      • localCertificatesDown

        public Collection<Certificate> localCertificatesDown()
        Specified by:
        localCertificatesDown in interface swim.runtime.HttpBinding
      • remoteAddressDown

        public InetSocketAddress remoteAddressDown()
        Specified by:
        remoteAddressDown in interface swim.runtime.HttpBinding
      • remoteIdentityDown

        public swim.api.auth.Identity remoteIdentityDown()
        Specified by:
        remoteIdentityDown in interface swim.runtime.HttpBinding
      • remotePrincipalDown

        public Principal remotePrincipalDown()
        Specified by:
        remotePrincipalDown in interface swim.runtime.HttpBinding
      • remoteCertificatesDown

        public Collection<Certificate> remoteCertificatesDown()
        Specified by:
        remoteCertificatesDown in interface swim.runtime.HttpBinding
      • doRequest

        public swim.http.HttpRequest<?> doRequest()
        Specified by:
        doRequest in interface swim.runtime.HttpBinding
      • contentDecoder

        public swim.codec.Decoder<Object> contentDecoder​(swim.http.HttpRequest<?> request)
        Specified by:
        contentDecoder in interface swim.io.http.HttpResponder<Object>
      • willRequest

        public void willRequest​(swim.http.HttpRequest<?> request)
        Specified by:
        willRequest in interface swim.io.http.HttpResponder<Object>
      • didRequest

        public void didRequest​(swim.http.HttpRequest<Object> request)
        Specified by:
        didRequest in interface swim.io.http.HttpResponder<Object>
      • writeResponse

        public void writeResponse​(swim.http.HttpResponse<?> response)
        Specified by:
        writeResponse in interface swim.runtime.HttpBinding
      • willRespond

        public void willRespond​(swim.http.HttpResponse<?> response)
        Specified by:
        willRespond in interface swim.io.http.HttpResponder<Object>
      • didRespond

        public void didRespond​(swim.http.HttpResponse<?> response)
        Specified by:
        didRespond in interface swim.io.http.HttpResponder<Object>
      • willBecome

        public void willBecome​(swim.io.Socket socket)
        Specified by:
        willBecome in interface swim.io.http.HttpResponder<Object>
      • didBecome

        public void didBecome​(swim.io.Socket socket)
        Specified by:
        didBecome in interface swim.io.http.HttpResponder<Object>
      • didTimeout

        public void didTimeout()
        Specified by:
        didTimeout in interface swim.io.http.HttpResponder<Object>
      • didDisconnect

        public void didDisconnect()
        Specified by:
        didDisconnect in interface swim.runtime.HttpBinding
        Specified by:
        didDisconnect in interface swim.io.http.HttpResponder<Object>
      • closeDown

        public void closeDown()
        Specified by:
        closeDown in interface swim.runtime.HttpBinding
      • didFail

        public void didFail​(Throwable error)
        Specified by:
        didFail in interface swim.runtime.HttpBinding
        Specified by:
        didFail in interface swim.io.http.HttpResponder<Object>
      • traceDown

        public void traceDown​(Object message)
        Specified by:
        traceDown in interface swim.runtime.HttpBinding
      • debugDown

        public void debugDown​(Object message)
        Specified by:
        debugDown in interface swim.runtime.HttpBinding
      • infoDown

        public void infoDown​(Object message)
        Specified by:
        infoDown in interface swim.runtime.HttpBinding
      • warnDown

        public void warnDown​(Object message)
        Specified by:
        warnDown in interface swim.runtime.HttpBinding
      • errorDown

        public void errorDown​(Object message)
        Specified by:
        errorDown in interface swim.runtime.HttpBinding