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
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 IOException
IOException
public SVNErrorMessage readError(org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest request, String method, String path)
public void sendData(byte[] body) throws IOException
IOException
public void sendData(InputStream source, long length) throws IOException
IOException
public SVNAuthentication getLastValidCredentials()
getLastValidCredentials
in interface IHTTPConnection
public void clearAuthenticationCache()
clearAuthenticationCache
in interface IHTTPConnection
public HTTPStatus request(String method, String path, HTTPHeader header, StringBuffer body, int ok1, int ok2, OutputStream dst, DefaultHandler handler) throws SVNException
request
in interface IHTTPConnection
SVNException
public 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 IHTTPConnection
SVNException
public HTTPStatus request(String method, String path, HTTPHeader header, InputStream body, int ok1, int ok2, OutputStream dst, DefaultHandler handler) throws SVNException
request
in interface IHTTPConnection
SVNException
public 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 IHTTPConnection
SVNException
public SVNErrorMessage readData(org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest request, OutputStream dst) throws IOException
IOException
public SVNErrorMessage readData(org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest request, String method, String path, DefaultHandler handler) throws IOException
IOException
public void skipData(org.tmatesoft.svn.core.internal.io.dav.http.HTTPRequest request) throws IOException
IOException
public void close()
close
in interface IHTTPConnection
public static SAXParserFactory createSAXParserFactory()
public void setSpoolResponse(boolean spoolResponse)
setSpoolResponse
in interface IHTTPConnection
public void setSpoolAll(boolean spoolAll)
public void setSpoolDirectory(File spoolDirectory)
Copyright © 2024. All rights reserved.