public class InterceptingURLConnection extends java.net.HttpURLConnection
Fields inherited from class | Fields |
---|---|
class java.net.HttpURLConnection |
HTTP_OK, HTTP_CREATED, HTTP_ACCEPTED, HTTP_NOT_AUTHORITATIVE, HTTP_NO_CONTENT, HTTP_RESET, HTTP_PARTIAL, HTTP_MULT_CHOICE, HTTP_MOVED_PERM, HTTP_MOVED_TEMP, HTTP_SEE_OTHER, HTTP_NOT_MODIFIED, HTTP_USE_PROXY, HTTP_BAD_REQUEST, HTTP_UNAUTHORIZED, HTTP_PAYMENT_REQUIRED, HTTP_FORBIDDEN, HTTP_NOT_FOUND, HTTP_BAD_METHOD, HTTP_NOT_ACCEPTABLE, HTTP_PROXY_AUTH, HTTP_CLIENT_TIMEOUT, HTTP_CONFLICT, HTTP_GONE, HTTP_LENGTH_REQUIRED, HTTP_PRECON_FAILED, HTTP_ENTITY_TOO_LARGE, HTTP_REQ_TOO_LONG, HTTP_UNSUPPORTED_TYPE, HTTP_SERVER_ERROR, HTTP_INTERNAL_ERROR, HTTP_NOT_IMPLEMENTED, HTTP_BAD_GATEWAY, HTTP_UNAVAILABLE, HTTP_GATEWAY_TIMEOUT, HTTP_VERSION |
Constructor and description |
---|
InterceptingURLConnection
(java.net.HttpURLConnection interceptedUrlConnection) |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
addRequestProperty(java.lang.String key, java.lang.String value) |
|
public void |
connect() |
|
public void |
disconnect() |
|
public boolean |
getAllowUserInteraction() |
|
public int |
getConnectTimeout() |
|
public java.lang.Object |
getContent() |
|
public java.lang.Object |
getContent(java.lang.Class[] classes) |
|
public java.lang.String |
getContentEncoding() |
|
public int |
getContentLength() |
|
public long |
getContentLengthLong() |
|
public java.lang.String |
getContentType() |
|
public long |
getDate() |
|
public boolean |
getDefaultUseCaches() |
|
public boolean |
getDoInput() |
|
public boolean |
getDoOutput() |
|
public java.io.InputStream |
getErrorStream() |
|
public long |
getExpiration() |
|
public java.lang.String |
getHeaderField(int n) |
|
public java.lang.String |
getHeaderField(java.lang.String name) |
|
public long |
getHeaderFieldDate(java.lang.String name, long Default) |
|
public int |
getHeaderFieldInt(java.lang.String name, int defaultValue) |
|
public java.lang.String |
getHeaderFieldKey(int n) |
|
public long |
getHeaderFieldLong(java.lang.String name, long defaultValue) |
|
public java.util.Map<java.lang.String, java.util.List<java.lang.String>> |
getHeaderFields() |
|
public long |
getIfModifiedSince() |
|
public java.io.InputStream |
getInputStream() |
|
public boolean |
getInstanceFollowRedirects() |
|
public long |
getLastModified() |
|
public java.io.OutputStream |
getOutputStream() |
|
public java.security.Permission |
getPermission() |
|
public int |
getReadTimeout() |
|
public byte[] |
getRequestBody() |
|
public java.util.Map<java.lang.String, java.util.List<java.lang.String>> |
getRequestHeaders() |
|
public java.lang.String |
getRequestMethod() |
|
public java.util.Map<java.lang.String, java.util.List<java.lang.String>> |
getRequestProperties() |
|
public java.lang.String |
getRequestProperty(java.lang.String key) |
|
public byte[] |
getResponseBody() |
|
public int |
getResponseCode() |
|
public java.lang.String |
getResponseMessage() |
|
public java.net.URL |
getURL() |
|
public boolean |
getUseCaches() |
|
public void |
setAllowUserInteraction(boolean allowuserinteraction) |
|
public void |
setChunkedStreamingMode(int chunklen) |
|
public void |
setConnectTimeout(int timeout) |
|
public void |
setDefaultUseCaches(boolean defaultusecaches) |
|
public void |
setDoInput(boolean doinput) |
|
public void |
setDoOutput(boolean dooutput) |
|
public void |
setFixedLengthStreamingMode(int contentLength) |
|
public void |
setFixedLengthStreamingMode(long contentLength) |
|
public void |
setIfModifiedSince(long ifmodifiedsince) |
|
public void |
setInstanceFollowRedirects(boolean followRedirects) |
|
public void |
setReadTimeout(int timeout) |
|
public void |
setRequestMethod(java.lang.String method) |
|
public void |
setRequestProperty(java.lang.String key, java.lang.String value) |
|
public void |
setUseCaches(boolean usecaches) |
|
public java.lang.String |
toString() |
|
public boolean |
usingProxy() |
Methods inherited from class | Name |
---|---|
class java.net.HttpURLConnection |
java.net.HttpURLConnection#setAuthenticator(java.net.Authenticator), java.net.HttpURLConnection#setFixedLengthStreamingMode(long), java.net.HttpURLConnection#setFixedLengthStreamingMode(int), java.net.HttpURLConnection#setChunkedStreamingMode(int), java.net.HttpURLConnection#setFollowRedirects(boolean), java.net.HttpURLConnection#getFollowRedirects(), java.net.HttpURLConnection#getInstanceFollowRedirects(), java.net.HttpURLConnection#getRequestMethod(), java.net.HttpURLConnection#getResponseMessage(), java.net.HttpURLConnection#usingProxy(), java.net.HttpURLConnection#getErrorStream(), java.net.HttpURLConnection#getPermission(), java.net.HttpURLConnection#setRequestMethod(java.lang.String), java.net.HttpURLConnection#getResponseCode(), java.net.HttpURLConnection#disconnect(), java.net.HttpURLConnection#getHeaderField(int), java.net.HttpURLConnection#getHeaderFieldKey(int), java.net.HttpURLConnection#getHeaderFieldDate(java.lang.String, long), java.net.HttpURLConnection#setInstanceFollowRedirects(boolean), java.net.HttpURLConnection#toString(), java.net.HttpURLConnection#connect(), java.net.HttpURLConnection#getInputStream(), java.net.HttpURLConnection#getContent(), java.net.HttpURLConnection#getContent([Ljava.lang.Class;), java.net.HttpURLConnection#setUseCaches(boolean), java.net.HttpURLConnection#setRequestProperty(java.lang.String, java.lang.String), java.net.HttpURLConnection#getURL(), java.net.HttpURLConnection#getContentLength(), java.net.HttpURLConnection#getLastModified(), java.net.HttpURLConnection#getDate(), java.net.HttpURLConnection#getFileNameMap(), java.net.HttpURLConnection#getHeaderFields(), java.net.HttpURLConnection#getHeaderField(java.lang.String), java.net.HttpURLConnection#getContentLengthLong(), java.net.HttpURLConnection#guessContentTypeFromStream(java.io.InputStream), java.net.HttpURLConnection#guessContentTypeFromName(java.lang.String), java.net.HttpURLConnection#addRequestProperty(java.lang.String, java.lang.String), java.net.HttpURLConnection#getRequestProperty(java.lang.String), java.net.HttpURLConnection#getRequestProperties(), java.net.HttpURLConnection#getContentType(), java.net.HttpURLConnection#getDefaultUseCaches(), java.net.HttpURLConnection#getDefaultUseCaches(java.lang.String), java.net.HttpURLConnection#getHeaderFieldLong(java.lang.String, long), java.net.HttpURLConnection#setFileNameMap(java.net.FileNameMap), java.net.HttpURLConnection#setConnectTimeout(int), java.net.HttpURLConnection#getConnectTimeout(), java.net.HttpURLConnection#setReadTimeout(int), java.net.HttpURLConnection#getReadTimeout(), java.net.HttpURLConnection#getContentEncoding(), java.net.HttpURLConnection#getExpiration(), java.net.HttpURLConnection#getHeaderFieldInt(java.lang.String, int), java.net.HttpURLConnection#getOutputStream(), java.net.HttpURLConnection#setDoInput(boolean), java.net.HttpURLConnection#getDoInput(), java.net.HttpURLConnection#setDoOutput(boolean), java.net.HttpURLConnection#getDoOutput(), java.net.HttpURLConnection#setAllowUserInteraction(boolean), java.net.HttpURLConnection#getAllowUserInteraction(), java.net.HttpURLConnection#setDefaultAllowUserInteraction(boolean), java.net.HttpURLConnection#getDefaultAllowUserInteraction(), java.net.HttpURLConnection#getUseCaches(), java.net.HttpURLConnection#setIfModifiedSince(long), java.net.HttpURLConnection#getIfModifiedSince(), java.net.HttpURLConnection#setDefaultUseCaches(java.lang.String, boolean), java.net.HttpURLConnection#setDefaultUseCaches(boolean), java.net.HttpURLConnection#setDefaultRequestProperty(java.lang.String, java.lang.String), java.net.HttpURLConnection#getDefaultRequestProperty(java.lang.String), java.net.HttpURLConnection#setContentHandlerFactory(java.net.ContentHandlerFactory), java.net.HttpURLConnection#wait(long, int), java.net.HttpURLConnection#wait(), java.net.HttpURLConnection#wait(long), java.net.HttpURLConnection#equals(java.lang.Object), java.net.HttpURLConnection#hashCode(), java.net.HttpURLConnection#getClass(), java.net.HttpURLConnection#notify(), java.net.HttpURLConnection#notifyAll() |
ReadyAPI functional (soapui-pro) SDK 3.56.0