public class HTTPConnection extends java.lang.Object implements IHTTPConnection
| Constructor and Description |
|---|
HTTPConnection(SVNRepository repository,
java.lang.String charset,
java.io.File spoolDirectory,
boolean spoolAll) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearAuthenticationCache() |
void |
close() |
static javax.xml.parsers.SAXParserFactory |
createSAXParserFactory() |
SVNURL |
getHost() |
HTTPStatus |
getLastStatus() |
SVNAuthentication |
getLastValidCredentials() |
SVNErrorMessage |
readData(org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest request,
java.io.OutputStream dst) |
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) |
SVNErrorMessage |
readError(org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest request,
java.lang.String method,
java.lang.String path) |
void |
readHeader(org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest request) |
HTTPStatus |
request(java.lang.String method,
java.lang.String path,
HTTPHeader header,
java.io.InputStream body,
int ok1,
int ok2,
java.io.OutputStream dst,
org.xml.sax.helpers.DefaultHandler handler) |
HTTPStatus |
request(java.lang.String method,
java.lang.String path,
HTTPHeader header,
java.io.InputStream body,
int ok1,
int ok2,
java.io.OutputStream dst,
org.xml.sax.helpers.DefaultHandler handler,
SVNErrorMessage context) |
HTTPStatus |
request(java.lang.String method,
java.lang.String path,
HTTPHeader header,
java.lang.StringBuffer body,
int ok1,
int ok2,
java.io.OutputStream dst,
org.xml.sax.helpers.DefaultHandler handler) |
HTTPStatus |
request(java.lang.String method,
java.lang.String path,
HTTPHeader header,
java.lang.StringBuffer body,
int ok1,
int ok2,
java.io.OutputStream dst,
org.xml.sax.helpers.DefaultHandler handler,
SVNErrorMessage context) |
void |
sendData(byte[] body) |
void |
sendData(java.io.InputStream source,
long length) |
void |
setSpoolResponse(boolean spoolResponse) |
void |
skipData(org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest request) |
public HTTPConnection(SVNRepository repository, java.lang.String charset, java.io.File spoolDirectory, boolean spoolAll) throws SVNException
SVNExceptionpublic HTTPStatus getLastStatus()
getLastStatus in interface IHTTPConnectionpublic SVNURL getHost()
public void readHeader(org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest request)
throws java.io.IOException
java.io.IOExceptionpublic SVNErrorMessage readError(org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest request, java.lang.String method, java.lang.String path)
public void sendData(byte[] body)
throws java.io.IOException
java.io.IOExceptionpublic void sendData(java.io.InputStream source,
long length)
throws java.io.IOException
java.io.IOExceptionpublic SVNAuthentication getLastValidCredentials()
getLastValidCredentials in interface IHTTPConnectionpublic void clearAuthenticationCache()
clearAuthenticationCache in interface IHTTPConnectionpublic HTTPStatus request(java.lang.String method, java.lang.String path, HTTPHeader header, java.lang.StringBuffer body, int ok1, int ok2, java.io.OutputStream dst, org.xml.sax.helpers.DefaultHandler handler) throws SVNException
request in interface IHTTPConnectionSVNExceptionpublic HTTPStatus request(java.lang.String method, java.lang.String path, HTTPHeader header, java.lang.StringBuffer body, int ok1, int ok2, java.io.OutputStream dst, org.xml.sax.helpers.DefaultHandler handler, SVNErrorMessage context) throws SVNException
request in interface IHTTPConnectionSVNExceptionpublic HTTPStatus request(java.lang.String method, java.lang.String path, HTTPHeader header, java.io.InputStream body, int ok1, int ok2, java.io.OutputStream dst, org.xml.sax.helpers.DefaultHandler handler) throws SVNException
request in interface IHTTPConnectionSVNExceptionpublic HTTPStatus request(java.lang.String method, java.lang.String path, HTTPHeader header, java.io.InputStream body, int ok1, int ok2, java.io.OutputStream dst, org.xml.sax.helpers.DefaultHandler handler, SVNErrorMessage context) throws SVNException
request in interface IHTTPConnectionSVNExceptionpublic SVNErrorMessage readData(org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest request, java.io.OutputStream dst) throws java.io.IOException
java.io.IOExceptionpublic 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
java.io.IOExceptionpublic void skipData(org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest request)
throws java.io.IOException
java.io.IOExceptionpublic void close()
close in interface IHTTPConnectionpublic static javax.xml.parsers.SAXParserFactory createSAXParserFactory()
public void setSpoolResponse(boolean spoolResponse)
setSpoolResponse in interface IHTTPConnectionCopyright © 2004-2012 TMate Software Ltd. All Rights Reserved.