Class HTTPConnection

  • All Implemented Interfaces:
    IHTTPConnection

    public class HTTPConnection
    extends java.lang.Object
    implements IHTTPConnection
    Version:
    1.3
    Author:
    TMate Software Ltd.
    • Constructor Summary

      Constructors 
      Constructor Description
      HTTPConnection​(SVNRepository repository, java.lang.String charset, java.io.File spoolDirectory, boolean spoolAll)  
    • Constructor Detail

      • HTTPConnection

        public HTTPConnection​(SVNRepository repository,
                              java.lang.String charset,
                              java.io.File spoolDirectory,
                              boolean spoolAll)
                       throws SVNException
        Throws:
        SVNException
    • Method Detail

      • getHost

        public SVNURL getHost()
      • readHeader

        public void readHeader​(org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest request)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • readError

        public SVNErrorMessage readError​(org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest request,
                                         java.lang.String method,
                                         java.lang.String path)
      • sendData

        public void sendData​(byte[] body)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • sendData

        public void sendData​(java.io.InputStream source,
                             long length)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • readData

        public SVNErrorMessage readData​(org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest request,
                                        java.io.OutputStream dst)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • readData

        public SVNErrorMessage readData​(org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest request,
                                        java.lang.String method,
                                        java.lang.String path,
                                        org.xml.sax.helpers.DefaultHandler handler)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • skipData

        public void skipData​(org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest request)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • createSAXParserFactory

        public static javax.xml.parsers.SAXParserFactory createSAXParserFactory()
      • setSpoolAll

        public void setSpoolAll​(boolean spoolAll)
      • setSpoolDirectory

        public void setSpoolDirectory​(java.io.File spoolDirectory)