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
SVNException
public HTTPStatus getLastStatus()
getLastStatus
in interface IHTTPConnection
public SVNURL getHost()
public void readHeader(org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest request) throws java.io.IOException
java.io.IOException
public 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.IOException
public void sendData(java.io.InputStream source, long length) throws java.io.IOException
java.io.IOException
public SVNAuthentication getLastValidCredentials()
getLastValidCredentials
in interface IHTTPConnection
public void clearAuthenticationCache()
clearAuthenticationCache
in interface IHTTPConnection
public 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 IHTTPConnection
SVNException
public 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 IHTTPConnection
SVNException
public 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 IHTTPConnection
SVNException
public 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 IHTTPConnection
SVNException
public SVNErrorMessage readData(org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest request, java.io.OutputStream dst) throws java.io.IOException
java.io.IOException
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
java.io.IOException
public void skipData(org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest request) throws java.io.IOException
java.io.IOException
public void close()
close
in interface IHTTPConnection
public static javax.xml.parsers.SAXParserFactory createSAXParserFactory()
public void setSpoolResponse(boolean spoolResponse)
setSpoolResponse
in interface IHTTPConnection
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.