Class ESTResponse


  • public class ESTResponse
    extends java.lang.Object
    A basic http response.
    • Constructor Detail

      • ESTResponse

        public ESTResponse​(ESTRequest originalRequest,
                           Source source)
                    throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getHeader

        public java.lang.String getHeader​(java.lang.String key)
      • wrapWithCounter

        protected java.io.InputStream wrapWithCounter​(java.io.InputStream in,
                                                      java.lang.Long absoluteReadLimit)
      • readStringIncluding

        protected java.lang.String readStringIncluding​(char until)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • getOriginalRequest

        public ESTRequest getOriginalRequest()
      • getHeaders

        public org.bouncycastle.est.HttpUtil.Headers getHeaders()
      • getHttpVersion

        public java.lang.String getHttpVersion()
      • getStatusCode

        public int getStatusCode()
      • getStatusMessage

        public java.lang.String getStatusMessage()
      • getInputStream

        public java.io.InputStream getInputStream()
      • getSource

        public Source getSource()
      • getContentLength

        public java.lang.Long getContentLength()
      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException