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