Index

A B C D E F G H I L M N O P Q R S T U V W 
All Classes|All Packages|Constant Field Values|Serialized Form

A

addReplayHeaders() - Method in class com.easypost.easyvcr.requestelements.Response
Add the EasyVCR headers to the response.
addRequestProperty(String, String) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Adds a general request property specified by a key-value pair.
addRequestProperty(String, String) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Adds a general request property specified by a key-value pair.
AdvancedSettings - Class in com.easypost.easyvcr
 
AdvancedSettings() - Constructor for class com.easypost.easyvcr.AdvancedSettings
 
ApachePatch - Class in com.easypost.easyvcr.internal
This class is a collection of Apache functions that have been extracted for use in this application.
ApachePatch() - Constructor for class com.easypost.easyvcr.internal.ApachePatch
 
ApachePatch.NameValuePair - Class in com.easypost.easyvcr.internal
This class was lifted and modified from org.apache.httpcomponents:httpcore version 4.4.16, namespace org.apache.http.NameValuePair, released under the Apache License 2.0.
ApachePatch.URLEncodedUtils - Class in com.easypost.easyvcr.internal
This class was lifted and modified from org.apache.httpcomponents:httpclient version 4.5.14, namespace org.apache.http.client.utils.URLEncodedUtils, released under the Apache License 2.0.
applyBodyParameterCensors(String) - Method in class com.easypost.easyvcr.Censors
Censor the appropriate body elements.
applyBodyParameterCensors(String, String, List<CensorElement>) - Static method in class com.easypost.easyvcr.Censors
Censor the appropriate body elements.
applyHeaderCensors(Map<String, List<String>>) - Method in class com.easypost.easyvcr.Censors
Censor the appropriate headers.
applyHeaderCensors(Map<String, List<String>>, String, List<CensorElement>) - Static method in class com.easypost.easyvcr.Censors
Censor the appropriate headers.
applyUrlCensors(String) - Method in class com.easypost.easyvcr.Censors
Censor the appropriate query parameters.
applyUrlCensors(String, String, List<CensorElement>, List<RegexCensorElement>) - Static method in class com.easypost.easyvcr.Censors
Censor the appropriate query parameters.
Auto - Enum constant in enum com.easypost.easyvcr.Mode
 

B

BaseInteractionConverter - Class in com.easypost.easyvcr.interactionconverters
Base for custom interaction converters to convert requests/responses to/from EasyVCR requests/responses.
BaseInteractionConverter() - Constructor for class com.easypost.easyvcr.interactionconverters.BaseInteractionConverter
 
BaseInteractionConverter.ResponseAndTime - Class in com.easypost.easyvcr.interactionconverters
 
byBaseUrl() - Method in class com.easypost.easyvcr.MatchRules
Add a rule to compare the base URLs of the requests.
byBody() - Method in class com.easypost.easyvcr.MatchRules
Add a rule to compare the bodies of the requests.
byBody(List<CensorElement>) - Method in class com.easypost.easyvcr.MatchRules
Add a rule to compare the bodies of the requests.
byEverything() - Method in class com.easypost.easyvcr.MatchRules
Add a rule to compare the entire requests.
byFullUrl() - Method in class com.easypost.easyvcr.MatchRules
Add a rule to compare the full URLs (including query parameters) of the requests.
byFullUrl(boolean) - Method in class com.easypost.easyvcr.MatchRules
Add a rule to compare the full URLs (including query parameters) of the requests.
byHeader(String) - Method in class com.easypost.easyvcr.MatchRules
Add a rule to compare a specific header of the requests.
byHeaders() - Method in class com.easypost.easyvcr.MatchRules
Add a rule to compare the headers of the requests.
byHeaders(boolean) - Method in class com.easypost.easyvcr.MatchRules
Add a rule to compare the headers of the requests.
byMethod() - Method in class com.easypost.easyvcr.MatchRules
Add a rule to compare the HTTP methods of the requests.
Bypass - Enum constant in enum com.easypost.easyvcr.Mode
 

C

caseSensitive - Variable in class com.easypost.easyvcr.CensorElement
Whether the value must match exactly to trigger a censor.
Cassette - Class in com.easypost.easyvcr
Cassette used to store and retrieve requests and responses for EasyVCR.
Cassette(String, String) - Constructor for class com.easypost.easyvcr.Cassette
Constructor for Cassette.
censorBodyElements(List<CensorElement>) - Method in class com.easypost.easyvcr.Censors
Add a rule to censor specified body elements.
censorBodyElementsByKeys(List<String>) - Method in class com.easypost.easyvcr.Censors
Add a rule to censor specified body elements by their keys.
censorBodyElementsByKeys(List<String>, boolean) - Method in class com.easypost.easyvcr.Censors
Add a rule to censor specified body elements by their keys.
CensorElement - Class in com.easypost.easyvcr
 
CensorElement(String, boolean) - Constructor for class com.easypost.easyvcr.CensorElement
Constructor.
censorHeaders(List<CensorElement>) - Method in class com.easypost.easyvcr.Censors
Add a rule to censor specified headers.
censorHeadersByKeys(List<String>) - Method in class com.easypost.easyvcr.Censors
Add a rule to censor specified headers by their keys.
censorHeadersByKeys(List<String>, boolean) - Method in class com.easypost.easyvcr.Censors
Add a rule to censor specified headers by their keys.
censorJsonData(String, String, List<CensorElement>) - Static method in class com.easypost.easyvcr.Censors
Apply censors to a JSON string.
censorPathElements(List<RegexCensorElement>) - Method in class com.easypost.easyvcr.Censors
Add a rule to censor specified path elements.
censorPathElementsByPattern(List<String>) - Method in class com.easypost.easyvcr.Censors
Add a rule to censor specified path elements by regular expression patterns.
censorPathElementsByPattern(List<String>, boolean) - Method in class com.easypost.easyvcr.Censors
Add a rule to censor specified path elements by regular expression patterns.
censorQueryParameters(List<CensorElement>) - Method in class com.easypost.easyvcr.Censors
Add a rule to censor specified query parameters.
censorQueryParametersByKeys(List<String>) - Method in class com.easypost.easyvcr.Censors
Add a rule to censor specified query parameters by their keys.
censorQueryParametersByKeys(List<String>, boolean) - Method in class com.easypost.easyvcr.Censors
Add a rule to censor specified query parameters by their keys.
censors - Variable in class com.easypost.easyvcr.AdvancedSettings
 
Censors - Class in com.easypost.easyvcr
Censoring capabilities for EasyVCR.
Censors() - Constructor for class com.easypost.easyvcr.Censors
Initialize a new instance of the Censors factory, using default censor string.
Censors(String) - Constructor for class com.easypost.easyvcr.Censors
Initialize a new instance of the Censors factory.
checkCompatibleSettings(ExpirationActions, Mode) - Static method in class com.easypost.easyvcr.internal.ExpirationActionExtensions
Check if the expiration action is valid for the given mode.
close() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableRequestBody
 
com.easypost.easyvcr - package com.easypost.easyvcr
 
com.easypost.easyvcr.clients.httpurlconnection - package com.easypost.easyvcr.clients.httpurlconnection
 
com.easypost.easyvcr.interactionconverters - package com.easypost.easyvcr.interactionconverters
 
com.easypost.easyvcr.internal - package com.easypost.easyvcr.internal
 
com.easypost.easyvcr.internal.json - package com.easypost.easyvcr.internal.json
 
com.easypost.easyvcr.requestelements - package com.easypost.easyvcr.requestelements
 
connect() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
 
connect() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
 
ConsoleFallbackLogger - Class in com.easypost.easyvcr.internal
A logger wrapper that, if there's no proper internal logger, writes to the console instead.
ConsoleFallbackLogger(Logger, String) - Constructor for class com.easypost.easyvcr.internal.ConsoleFallbackLogger
Constructor for ConsoleFallbackLogger.
convertJsonToObject(JsonElement, Class<T>) - Static method in class com.easypost.easyvcr.internal.json.Serialization
Convert a JSON element to an object.
convertJsonToObject(String, Class<T>) - Static method in class com.easypost.easyvcr.internal.json.Serialization
Convert a JSON string to an object.
convertObjectToJson(Object) - Static method in class com.easypost.easyvcr.internal.json.Serialization
Convert an object to a JSON string.
copyInputStream(InputStream) - Static method in class com.easypost.easyvcr.internal.Utilities
Make a copy of an input stream (resetting the position to 0).
createFileIfNotExists(String) - Static method in class com.easypost.easyvcr.internal.Files
Creates a file if it doesn't exist.
createInputStream(String) - Static method in class com.easypost.easyvcr.internal.Utilities
Create an input stream from a string.
createInteraction(Request, Response, long) - Method in class com.easypost.easyvcr.interactionconverters.BaseInteractionConverter
Create an HttpInteraction from a request and response.
createInteraction(HttpURLConnection, RecordableRequestBody, Censors) - Method in class com.easypost.easyvcr.interactionconverters.HttpUrlConnectionInteractionConverter
Convert a Http(s)URLConnection to an EasyVCR HttpInteraction.
createOutputStream(String) - Static method in class com.easypost.easyvcr.internal.Utilities
Create an output stream from a string.
createRecordedRequest(HttpURLConnection, RecordableRequestBody, Censors) - Method in class com.easypost.easyvcr.interactionconverters.HttpUrlConnectionInteractionConverter
Convert a HttpURLConnection request to an EasyVCR request.
createRecordedResponse(HttpURLConnection, Censors) - Method in class com.easypost.easyvcr.interactionconverters.HttpUrlConnectionInteractionConverter
Convert a HttpURLConnection response to a ResponseAndTime object.

D

DEFAULT_CENSOR_TEXT - Static variable in class com.easypost.easyvcr.Statics
Default string to use to censor sensitive information.
DEFAULT_CREDENTIAL_HEADERS_TO_HIDE - Static variable in class com.easypost.easyvcr.Statics
Default headers to censor (credential-related headers).
DEFAULT_CREDENTIAL_PARAMETERS_TO_HIDE - Static variable in class com.easypost.easyvcr.Statics
Default parameters to censor (credential-related parameters).
disconnect() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
 
disconnect() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
 

E

eject() - Method in class com.easypost.easyvcr.VCR
Remove the current cassette from the VCR.
erase() - Method in class com.easypost.easyvcr.Cassette
Erase this cassette by deleting the file.
erase() - Method in class com.easypost.easyvcr.VCR
Erase the cassette in the VCR.
error(String) - Method in class com.easypost.easyvcr.internal.ConsoleFallbackLogger
Logs an error message to the logger or console.
ExpirationActionExtensions - Class in com.easypost.easyvcr.internal
 
ExpirationActionExtensions() - Constructor for class com.easypost.easyvcr.internal.ExpirationActionExtensions
 
ExpirationActions - Enum in com.easypost.easyvcr
Enums representing different actions to take when a recording is expired.
extractPathFromUri(URI) - Static method in class com.easypost.easyvcr.internal.Utilities
Extract the path from a URI.

F

Files - Class in com.easypost.easyvcr.internal
 
Files() - Constructor for class com.easypost.easyvcr.internal.Files
 
findMatchingInteraction(Cassette, Request, MatchRules) - Method in class com.easypost.easyvcr.interactionconverters.BaseInteractionConverter
Search for an existing interaction that matches the request.
forever() - Static method in class com.easypost.easyvcr.TimeFrame
Get a TimeFrame that represents "forever".
format(Iterable<? extends ApachePatch.NameValuePair>, char, Charset) - Static method in class com.easypost.easyvcr.internal.ApachePatch.URLEncodedUtils
Format the given name-value pairs into a query string.
format(Iterable<? extends ApachePatch.NameValuePair>, Charset) - Static method in class com.easypost.easyvcr.internal.ApachePatch.URLEncodedUtils
Format the given name-value pairs into a query string.

G

getAdvancedSettings() - Method in class com.easypost.easyvcr.VCR
Get the advanced settings for the VCR.
getAllowUserInteraction() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the value of the allowUserInteraction field for this object.
getAllowUserInteraction() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns the value of the allowUserInteraction field for this object.
getBody() - Method in class com.easypost.easyvcr.requestelements.Request
Returns the body of the request.
getBody() - Method in class com.easypost.easyvcr.requestelements.Response
Returns the body of the response.
getCassetteName() - Method in class com.easypost.easyvcr.VCR
Gets the name of the current cassette in the VCR.
getCipherSuite() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
 
getCode() - Method in class com.easypost.easyvcr.requestelements.Status
Returns the status code of the HTTP request.
getConnectTimeout() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns setting for connect timeout.
getConnectTimeout() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns setting for connect timeout.
getContent() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Retrieves the contents of this URL connection.
getContent() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Retrieves the contents of this URL connection.
getContent(Class[]) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Retrieves the contents of this URL connection.
getContent(Class[]) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Retrieves the contents of this URL connection.
getContentEncoding() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the value of the content-encoding header field.
getContentEncoding() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns the value of the content-encoding header field.
getContentLength() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the value of the content-length header field.
getContentLength() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns the value of the content-length header field.
getContentLengthLong() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the value of the content-length header field as a long.
getContentLengthLong() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns the value of the content-length header field as a long.
getContentType() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the value of the content-type header field.
getContentType() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns the value of the content-type header field.
getData() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableRequestBody
Returns the String data stored in this object.
getDate() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the value of the date header field.
getDate() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns the value of the date header field.
getDefaultUseCaches() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the default value of a URLConnection's useCaches flag.
getDefaultUseCaches() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns the default value of a URLConnection's useCaches flag.
getDoInput() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the value of this URLConnection's doInput flag.
getDoInput() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns the value of this URLConnection's doInput flag.
getDoOutput() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the value of this URLConnection's doOutput flag.
getDoOutput() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns the value of this URLConnection's doOutput flag.
getDuration() - Method in class com.easypost.easyvcr.requestelements.HttpInteraction
Returns the duration of the request in milliseconds.
getErrorStream() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the error stream if the connection failed but the server sent useful data nonetheless.
getErrorStream() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns the error stream if the connection failed but the server sent useful data nonetheless.
getExpiration() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the value of the expires header field.
getExpiration() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns the value of the expires header field.
getFile(String) - Static method in class com.easypost.easyvcr.internal.Utilities
Get a File object from a path.
getFilePath(String, String) - Static method in class com.easypost.easyvcr.internal.Utilities
Get a file path from a folder-file pair.
getHeaderField(int) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the value for the nth header field.
getHeaderField(int) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns the value for the nth header field.
getHeaderField(String) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the value of the named header field.
getHeaderField(String) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns the value of the named header field.
getHeaderFieldDate(String, long) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
 
getHeaderFieldDate(String, long) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
 
getHeaderFieldInt(String, int) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the value of the named field parsed as a number.
getHeaderFieldInt(String, int) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns the value of the named field parsed as a number.
getHeaderFieldKey(int) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the key for the nth header field.
getHeaderFieldKey(int) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns the key for the nth header field.
getHeaderFieldLong(String, long) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the value of the named field parsed as a number.
getHeaderFieldLong(String, long) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns the value of the named field parsed as a number.
getHeaderFields() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns an unmodifiable Map of the header fields.
getHeaderFields() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns an unmodifiable Map of the header fields.
getHeaders() - Method in class com.easypost.easyvcr.requestelements.Request
Returns the headers of the request.
getHeaders() - Method in class com.easypost.easyvcr.requestelements.Response
Returns the headers of the response.
getHostnameVerifier() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
gets the HostnameVerifier in place on this instance.
getHttpUrlConnection(String) - Method in class com.easypost.easyvcr.VCR
Retrieve a pre-configured RecordableURL object that will use the VCR.
getHttpUrlConnection(URL) - Method in class com.easypost.easyvcr.VCR
Retrieve a pre-configured RecordableURL object that will use the VCR.
getHttpVersion() - Method in class com.easypost.easyvcr.requestelements.Response
Returns the HttpVersion of the response.
getIfModifiedSince() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the value of this object's ifModifiedSince field.
getIfModifiedSince() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns the value of this object's ifModifiedSince field.
getInputStream() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
 
getInputStream() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
 
getInstanceFollowRedirects() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the value of this RecordableHttpUrlConnection's instanceFollowRedirects field.
getInstanceFollowRedirects() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns the value of this RecordableHttpUrlConnection's instanceFollowRedirects field.
getLastModified() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the value of the last-modified header field.
getLastModified() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns the value of the last-modified header field.
getLocalCertificates() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
 
getLocalPrincipal() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the principal that was sent to the server during handshaking.
getMessage() - Method in class com.easypost.easyvcr.requestelements.Status
Returns the status description of the HTTP request.
getMethod() - Method in class com.easypost.easyvcr.requestelements.Request
Returns the method of the request.
getMode() - Method in class com.easypost.easyvcr.VCR
Gets the current operating mode of the VCR.
getName() - Method in class com.easypost.easyvcr.internal.ApachePatch.NameValuePair
Gets the name of this pair.
getOutputStream() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns an output stream that writes to this connection.
getOutputStream() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns an output stream that writes to this connection.
getPeerPrincipal() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the server's principal which was established as part of defining the session.
getPermission() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns a SocketPermission object representing the permission necessary to connect to the destination host and port.
getPermission() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns a SocketPermission object representing the permission necessary to connect to the destination host and port.
getReadTimeout() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns setting for read timeout.
getReadTimeout() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns setting for read timeout.
getRecordedAt() - Method in class com.easypost.easyvcr.requestelements.HttpInteraction
Returns the timestamp of when the interaction was recorded.
getReplayHeaders() - Static method in class com.easypost.easyvcr.Statics
Get a map of the EasyVCR replay headers.
getRequest() - Method in class com.easypost.easyvcr.requestelements.HttpInteraction
Returns the HTTP request.
getRequestMethod() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
get the request method.
getRequestMethod() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
get the request method.
getRequestProperties() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns an unmodifiable Map of general request properties for this connection.
getRequestProperties() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns an unmodifiable Map of general request properties for this connection.
getRequestProperty(String) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the value of the named general request property for this connection.
getRequestProperty(String) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns the value of the named general request property for this connection.
getResponse() - Method in class com.easypost.easyvcr.requestelements.HttpInteraction
Returns the HTTP response.
getResponseCode() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
gets the status code from an HTTP response message.
getResponseCode() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
gets the status code from an HTTP response message.
getResponseMessage() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
gets the HTTP response message, if any, returned along with the response code from a server.
getResponseMessage() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
gets the HTTP response message, if any, returned along with the response code from a server.
getServerCertificates() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
 
getSSLSocketFactory() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
gets the SSL socket factory to be used when creating sockets for secure https URL connections.
getStatus() - Method in class com.easypost.easyvcr.requestelements.Response
Returns the status of the response.
getUri() - Method in class com.easypost.easyvcr.requestelements.Request
Returns the URI of the request.
getUri() - Method in class com.easypost.easyvcr.requestelements.Response
Returns the URI of the response.
getUriString() - Method in class com.easypost.easyvcr.requestelements.Request
Returns the URI of the request as a string.
getUriString() - Method in class com.easypost.easyvcr.requestelements.Response
Returns the URI of the response as a string.
getURL() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the value of this URLConnection's URL field.
getURL() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns the value of this URLConnection's URL field.
getUseCaches() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns the value of this URLConnection's useCaches field.
getUseCaches() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns the value of this URLConnection's useCaches field.
getValue() - Method in class com.easypost.easyvcr.internal.ApachePatch.NameValuePair
Gets the value of this pair.

H

hasData() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableRequestBody
Check if this object is storing any data.
hasLapsed(long) - Method in class com.easypost.easyvcr.TimeFrame
Check if this time frame has lapsed from the given time.
hasLapsed(Instant) - Method in class com.easypost.easyvcr.TimeFrame
Check if this time frame has lapsed from the given time.
HttpClients - Class in com.easypost.easyvcr
HttpClient singleton for EasyVCR.
HttpClients() - Constructor for class com.easypost.easyvcr.HttpClients
 
HttpClientType - Enum in com.easypost.easyvcr
 
HttpElement - Class in com.easypost.easyvcr.requestelements
Base class for all EasyVCR request/response objects.
HttpElement() - Constructor for class com.easypost.easyvcr.requestelements.HttpElement
 
HttpInteraction - Class in com.easypost.easyvcr.requestelements
Represents an HTTP request-response pair tracked by EasyVCR.
HttpInteraction(Request, Response, long) - Constructor for class com.easypost.easyvcr.requestelements.HttpInteraction
Constructs a new HTTPInteraction object.
HttpsUrlConnection - Enum constant in enum com.easypost.easyvcr.HttpClientType
 
HttpUrlConnection - Enum constant in enum com.easypost.easyvcr.HttpClientType
 
HttpUrlConnectionInteractionConverter - Class in com.easypost.easyvcr.interactionconverters
The interaction converter to convert Http(s)UrlConnection requests/responses to/from EasyVCR requests/responses.
HttpUrlConnectionInteractionConverter() - Constructor for class com.easypost.easyvcr.interactionconverters.HttpUrlConnectionInteractionConverter
 
HttpVersion - Class in com.easypost.easyvcr.requestelements
Represents an HTTP version.
HttpVersion(String) - Constructor for class com.easypost.easyvcr.requestelements.HttpVersion
Constructs a new HTTP version.

I

insert(Cassette) - Method in class com.easypost.easyvcr.VCR
Add a cassette to the VCR (or replace the current one).
isDictionary(Object) - Static method in class com.easypost.easyvcr.internal.Utilities
Check if the object is a dictionary.
isList(Object) - Static method in class com.easypost.easyvcr.internal.Utilities
Check if the object is a list.

L

lock() - Method in class com.easypost.easyvcr.Cassette
Lock this cassette (prevent reading or writing).
logger - Variable in class com.easypost.easyvcr.AdvancedSettings
 

M

manualDelay - Variable in class com.easypost.easyvcr.AdvancedSettings
 
mapToQueryParameters(Map<String, String>) - Static method in class com.easypost.easyvcr.internal.Utilities
Convert a map to a query parameters string.
matchAndReplaceAsNeeded(String, String) - Method in class com.easypost.easyvcr.RegexCensorElement
Replace the provided value with the provided replacement if the value matches the pattern.
matches(String) - Method in class com.easypost.easyvcr.CensorElement
Return whether the element matches the name, accounting for case sensitivity.
matches(String) - Method in class com.easypost.easyvcr.RegexCensorElement
Return whether the provided element matches the name, accounting for case sensitivity.
matchRules - Variable in class com.easypost.easyvcr.AdvancedSettings
 
MatchRules - Class in com.easypost.easyvcr
Rule set for matching requests against recorded requests.
MatchRules() - Constructor for class com.easypost.easyvcr.MatchRules
Construct a new MatchRules factory.
Mode - Enum in com.easypost.easyvcr
 
months1() - Static method in class com.easypost.easyvcr.TimeFrame
Get a TimeFrame that represents 1 month.
months12() - Static method in class com.easypost.easyvcr.TimeFrame
Get a TimeFrame that represents 12 months.
months2() - Static method in class com.easypost.easyvcr.TimeFrame
Get a TimeFrame that represents 2 months.
months3() - Static method in class com.easypost.easyvcr.TimeFrame
Get a TimeFrame that represents 3 months.
months6() - Static method in class com.easypost.easyvcr.TimeFrame
Get a TimeFrame that represents 6 months.

N

name - Variable in class com.easypost.easyvcr.Cassette
The name of the cassette.
never() - Static method in class com.easypost.easyvcr.TimeFrame
Get a TimeFrame that represents "never".
newClient(HttpClientType, String, Cassette, Mode) - Static method in class com.easypost.easyvcr.HttpClients
Get a new client configured to use cassettes.
newClient(HttpClientType, String, Cassette, Mode, AdvancedSettings) - Static method in class com.easypost.easyvcr.HttpClients
Get a new client configured to use cassettes.
newHttpsURLConnection(String, Cassette, Mode) - Static method in class com.easypost.easyvcr.HttpClients
Get a new RecordableHttpsURLConnection configured to use cassettes.
newHttpsURLConnection(String, Cassette, Mode, AdvancedSettings) - Static method in class com.easypost.easyvcr.HttpClients
Get a new RecordableHttpsURLConnection configured to use cassettes.
newHttpURLConnection(String, Cassette, Mode) - Static method in class com.easypost.easyvcr.HttpClients
Get a new RecordableHttpURLConnection configured to use cassettes.
newHttpURLConnection(String, Cassette, Mode, AdvancedSettings) - Static method in class com.easypost.easyvcr.HttpClients
Get a new RecordableHttpURLConnection configured to use cassettes.
numInteractions() - Method in class com.easypost.easyvcr.Cassette
Gets the number of interactions in the cassette.

O

openConnection() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableURL
Open an HTTP connection to the URL.
openConnection(Proxy) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableURL
Open an HTTP connection to the URL.
openConnectionSecure() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableURL
Open an HTTPS connection to the URL.
openConnectionSecure(Proxy) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableURL
Open an HTTPS connection to the URL.

P

parse(String, Charset, char...) - Static method in class com.easypost.easyvcr.internal.ApachePatch.URLEncodedUtils
Parses the given string as a list of name-value pairs.
parse(URI, Charset) - Static method in class com.easypost.easyvcr.internal.ApachePatch.URLEncodedUtils
Parses the given URI query parameters as a list of name-value pairs.
parse(String, Charset) - Static method in class com.easypost.easyvcr.internal.ApachePatch.URLEncodedUtils
Parses the given string as a list of name-value pairs.
pause() - Method in class com.easypost.easyvcr.VCR
Enable passthrough mode on the VCR (HTTP requests will be made as normal).

Q

queryParametersToMap(URI) - Static method in class com.easypost.easyvcr.internal.Utilities
Convert a URI's query parameters to a Map.

R

read() - Method in class com.easypost.easyvcr.Cassette
Read all the interactions recorded on this cassette.
readFile(File) - Static method in class com.easypost.easyvcr.internal.Files
Reads a file.
readFile(String) - Static method in class com.easypost.easyvcr.internal.Files
Reads a file.
readFromInputStream(InputStream) - Static method in class com.easypost.easyvcr.internal.Utilities
Read the contents of an input stream into a string.
record() - Method in class com.easypost.easyvcr.VCR
Enable recording mode on the VCR.
Record - Enum constant in enum com.easypost.easyvcr.Mode
 
RecordableHttpsURLConnection - Class in com.easypost.easyvcr.clients.httpurlconnection
 
RecordableHttpsURLConnection(URL, Cassette, Mode) - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Constructor for the RecordableHttpsURLConnection class.
RecordableHttpsURLConnection(URL, Cassette, Mode, AdvancedSettings) - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Constructor for the RecordableHttpsURLConnection class.
RecordableHttpsURLConnection(URL, Proxy, Cassette, Mode) - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Constructor for the RecordableHttpsURLConnection class.
RecordableHttpsURLConnection(URL, Proxy, Cassette, Mode, AdvancedSettings) - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Constructor for the RecordableHttpsURLConnection class.
RecordableHttpURLConnection - Class in com.easypost.easyvcr.clients.httpurlconnection
 
RecordableHttpURLConnection(URL, Cassette, Mode) - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Constructor for the RecordableHttpURLConnection class.
RecordableHttpURLConnection(URL, Cassette, Mode, AdvancedSettings) - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Constructor for the RecordableHttpURLConnection class.
RecordableHttpURLConnection(URL, Proxy, Cassette, Mode) - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Constructor for the RecordableHttpURLConnection class.
RecordableHttpURLConnection(URL, Proxy, Cassette, Mode, AdvancedSettings) - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Constructor for the RecordableHttpURLConnection class.
RecordableRequestBody - Class in com.easypost.easyvcr.clients.httpurlconnection
 
RecordableRequestBody() - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableRequestBody
Constructor.
RecordableURL - Class in com.easypost.easyvcr.clients.httpurlconnection
A recordable URL, wrapper for RecordableHttpURLConnection and RecordableHttpsURLConnection.
RecordableURL(String, Cassette, Mode) - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableURL
Constructs a new recordable URL.
RecordableURL(String, Cassette, Mode, AdvancedSettings) - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableURL
Constructs a new recordable URL.
RecordableURL(String, String, int, String, Cassette, Mode) - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableURL
Constructs a new recordable URL.
RecordableURL(String, String, int, String, Cassette, Mode, AdvancedSettings) - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableURL
Constructs a new recordable URL.
RecordableURL(String, String, int, String, URLStreamHandler, Cassette, Mode) - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableURL
Constructs a new recordable URL.
RecordableURL(String, String, int, String, URLStreamHandler, Cassette, Mode, AdvancedSettings) - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableURL
Constructs a new recordable URL.
RecordableURL(String, String, String, Cassette, Mode) - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableURL
Constructs a new recordable URL.
RecordableURL(String, String, String, Cassette, Mode, AdvancedSettings) - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableURL
Constructs a new recordable URL.
RecordableURL(URL, Cassette, Mode) - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableURL
Constructs a new recordable URL.
RecordableURL(URL, Cassette, Mode, AdvancedSettings) - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableURL
Constructs a new recordable URL.
RecordableURL(URL, String, Cassette, Mode) - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableURL
Constructs a new recordable URL.
RecordableURL(URL, String, Cassette, Mode, AdvancedSettings) - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableURL
Constructs a new recordable URL.
RecordableURL(URL, String, URLStreamHandler, Cassette, Mode) - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableURL
Constructs a new recordable URL.
RecordableURL(URL, String, URLStreamHandler, Cassette, Mode, AdvancedSettings) - Constructor for class com.easypost.easyvcr.clients.httpurlconnection.RecordableURL
Constructs a new recordable URL.
RecordAgain - Enum constant in enum com.easypost.easyvcr.ExpirationActions
Automatically re-record the recorded interaction.
recordIfNeeded() - Method in class com.easypost.easyvcr.VCR
Enable auto mode on the VCR (record if needed, replay otherwise).
RecordingExpirationException - Exception in com.easypost.easyvcr
 
RecordingExpirationException(String) - Constructor for exception com.easypost.easyvcr.RecordingExpirationException
Constructs a new RecordingExpirationException with the specified detail message.
RegexCensorElement - Class in com.easypost.easyvcr
 
RegexCensorElement(String, boolean) - Constructor for class com.easypost.easyvcr.RegexCensorElement
Constructor.
regular() - Static method in class com.easypost.easyvcr.Censors
Default censors is to not censor anything.
regular() - Static method in class com.easypost.easyvcr.MatchRules
Default rule is to match on the method and URL.
removeJsonElements(String, List<CensorElement>) - Static method in class com.easypost.easyvcr.internal.Utilities
Remove elements from a JSON string.
replay() - Method in class com.easypost.easyvcr.VCR
Enable playback mode on the VCR.
Replay - Enum constant in enum com.easypost.easyvcr.Mode
 
Request - Class in com.easypost.easyvcr.requestelements
Represents an HTTP request tracked by EasyVCR.
Request() - Constructor for class com.easypost.easyvcr.requestelements.Request
 
requestsMatch(Request, Request) - Method in class com.easypost.easyvcr.MatchRules
Execute rules to determine if the received request matches the recorded request.
response - Variable in class com.easypost.easyvcr.interactionconverters.BaseInteractionConverter.ResponseAndTime
 
Response - Class in com.easypost.easyvcr.requestelements
Represents an HTTP response tracked by EasyVCR.
Response() - Constructor for class com.easypost.easyvcr.requestelements.Response
 
ResponseAndTime(Response, long) - Constructor for class com.easypost.easyvcr.interactionconverters.BaseInteractionConverter.ResponseAndTime
Constructor for ResponseAndTime.
responseCameFromRecording(HttpURLConnection) - Static method in class com.easypost.easyvcr.Utilities
Check if the connection came from an EasyVCR recording.
responseCameFromRecording(HttpsURLConnection) - Static method in class com.easypost.easyvcr.Utilities
Check if the connection came from an EasyVCR recording.

S

Serialization - Class in com.easypost.easyvcr.internal.json
JSON de/serialization utilities.
Serialization() - Constructor for class com.easypost.easyvcr.internal.json.Serialization
 
setAdvancedSettings(AdvancedSettings) - Method in class com.easypost.easyvcr.VCR
Set the advanced settings for the VCR.
setAllowUserInteraction(boolean) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Set the value of the allowUserInteraction field of this URLConnection.
setAllowUserInteraction(boolean) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Set the value of the allowUserInteraction field of this URLConnection.
setBody(String) - Method in class com.easypost.easyvcr.requestelements.Request
Sets the body of the request.
setBody(String) - Method in class com.easypost.easyvcr.requestelements.Response
Sets the body of the response.
setChunkedStreamingMode(int) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
This method is used to enable streaming of a HTTP request body without internal buffering, when the content length is not known in advance.
setChunkedStreamingMode(int) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
This method is used to enable streaming of a HTTP request body without internal buffering, when the content length is not known in advance.
setCode(int) - Method in class com.easypost.easyvcr.requestelements.Status
Sets the status code of the HTTP request.
setConnectTimeout(int) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Sets a specified timeout value, in milliseconds, to be used when opening a communications link to the resource referenced by this URLConnection.
setConnectTimeout(int) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Sets a specified timeout value, in milliseconds, to be used when opening a communications link to the resource referenced by this URLConnection.
setDefaultUseCaches(boolean) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Sets the default value of the useCaches field to the specified value.
setDefaultUseCaches(boolean) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Sets the default value of the useCaches field to the specified value.
setDoInput(boolean) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Sets the value of the doInput field for this URLConnection to the specified value.
setDoInput(boolean) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Sets the value of the doInput field for this URLConnection to the specified value.
setDoOutput(boolean) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Sets the value of the doOutput field for this URLConnection to the specified value.
setDoOutput(boolean) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Sets the value of the doOutput field for this URLConnection to the specified value.
setDuration(int) - Method in class com.easypost.easyvcr.requestelements.HttpInteraction
Sets the duration of the request in milliseconds.
setFixedLengthStreamingMode(int) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
This method is used to enable streaming of a HTTP request body without internal buffering, when the content length is known in advance.
setFixedLengthStreamingMode(int) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
This method is used to enable streaming of a HTTP request body without internal buffering, when the content length is known in advance.
setFixedLengthStreamingMode(long) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
This method is used to enable streaming of a HTTP request body without internal buffering, when the content length is known in advance.
setFixedLengthStreamingMode(long) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
This method is used to enable streaming of a HTTP request body without internal buffering, when the content length is known in advance.
setHeaders(Map<String, List<String>>) - Method in class com.easypost.easyvcr.requestelements.Request
Sets the headers of the request.
setHeaders(Map<String, List<String>>) - Method in class com.easypost.easyvcr.requestelements.Response
Sets the headers of the response.
setHostnameVerifier(HostnameVerifier) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Sets the HostnameVerifier for this instance.
setHttpVersion(String) - Method in class com.easypost.easyvcr.requestelements.Response
Sets the HTTP version of the response from a String.
setIfModifiedSince(long) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Sets the value of the ifModifiedSince field of this URLConnection to the specified value.
setIfModifiedSince(long) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Sets the value of the ifModifiedSince field of this URLConnection to the specified value.
setInstanceFollowRedirects(boolean) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Sets whether HTTP redirects (requests with response code 3xx) should be automatically followed by this RecordableHttpUrlConnection instance.
setInstanceFollowRedirects(boolean) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Sets whether HTTP redirects (requests with response code 3xx) should be automatically followed by this RecordableHttpUrlConnection instance.
setMessage(String) - Method in class com.easypost.easyvcr.requestelements.Status
Sets the status description of the HTTP request.
setMethod(String) - Method in class com.easypost.easyvcr.requestelements.Request
Sets the method of the request.
setReadTimeout(int) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Sets the read timeout to a specified timeout, in milliseconds.
setReadTimeout(int) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Sets the read timeout to a specified timeout, in milliseconds.
setRecordedAt(long) - Method in class com.easypost.easyvcr.requestelements.HttpInteraction
Set the timestamp of when the interaction was recorded.
setRequest(Request) - Method in class com.easypost.easyvcr.requestelements.HttpInteraction
Sets the HTTP request.
setRequestMethod(String) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Set the method for the URL request, one of: GET POST HEAD OPTIONS PUT DELETE TRACE are legal, subject to protocol restrictions.
setRequestMethod(String) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Set the method for the URL request, one of: GET POST HEAD OPTIONS PUT DELETE TRACE are legal, subject to protocol restrictions.
setRequestProperty(String, String) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Sets the general request property.
setRequestProperty(String, String) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Sets the general request property.
setResponse(Response) - Method in class com.easypost.easyvcr.requestelements.HttpInteraction
Sets the HTTP response.
setSSLSocketFactory(SSLSocketFactory) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Sets the SSLSocketFactory to be used when this instance creates sockets for secure https URL connections.
setStatus(Status) - Method in class com.easypost.easyvcr.requestelements.Response
Sets the status of the response.
setUri(URI) - Method in class com.easypost.easyvcr.requestelements.Request
Sets the URI of the request.
setUri(URI) - Method in class com.easypost.easyvcr.requestelements.Response
Sets the URI of the response.
setUriString(String) - Method in class com.easypost.easyvcr.requestelements.Request
Sets the URI of the request from a string.
setUriString(String) - Method in class com.easypost.easyvcr.requestelements.Response
Sets the URI of the response from a string.
setUseCaches(boolean) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Sets the value of the useCaches field of this URLConnection to the specified value.
setUseCaches(boolean) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Sets the value of the useCaches field of this URLConnection to the specified value.
simulateDelay - Variable in class com.easypost.easyvcr.AdvancedSettings
 
simulateDelay(HttpInteraction, AdvancedSettings) - Static method in class com.easypost.easyvcr.internal.Utilities
Sleep the current thread for a specified number of milliseconds.
Statics - Class in com.easypost.easyvcr
 
Statics() - Constructor for class com.easypost.easyvcr.Statics
 
Status - Class in com.easypost.easyvcr.requestelements
Represents a status of an HTTP request tracked by EasyVCR.
Status(int, String) - Constructor for class com.easypost.easyvcr.requestelements.Status
Constructs a new Status object.
strict() - Static method in class com.easypost.easyvcr.Censors
Default sensitive censors is to censor common private information (i.e.
strict() - Static method in class com.easypost.easyvcr.MatchRules
Default strict rule is to match on the method, URL and body.

T

ThrowException - Enum constant in enum com.easypost.easyvcr.ExpirationActions
Throw an exception that the recorded interaction is expired.
time - Variable in class com.easypost.easyvcr.interactionconverters.BaseInteractionConverter.ResponseAndTime
 
timeFrame - Variable in class com.easypost.easyvcr.AdvancedSettings
 
TimeFrame - Class in com.easypost.easyvcr
TimeFrame used to store an extent of time.
TimeFrame(int, int, int, int) - Constructor for class com.easypost.easyvcr.TimeFrame
Constructor for TimeFrame.
toBase64String(String) - Static method in class com.easypost.easyvcr.internal.Utilities
Get the base64 representation of a string.
toJson() - Method in class com.easypost.easyvcr.requestelements.HttpElement
Serialize this object to a JSON string.
toString() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
Returns a String representation of this URL connection.
toString() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
Returns a String representation of this URL connection.
toString() - Method in class com.easypost.easyvcr.requestelements.HttpVersion
Returns the HTTP version as a string.

U

unlock() - Method in class com.easypost.easyvcr.Cassette
Unlock this cassette (allow the cassette to be used).
updateInteraction(HttpInteraction, MatchRules, boolean) - Method in class com.easypost.easyvcr.Cassette
Overwrite an existing interaction on this cassette, or add a new one if it doesn't exist.
URLEncodedUtils() - Constructor for class com.easypost.easyvcr.internal.ApachePatch.URLEncodedUtils
Constructs a new instance.
usingProxy() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpsURLConnection
 
usingProxy() - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableHttpURLConnection
 
Utilities - Class in com.easypost.easyvcr.internal
Internal tools for EasyVCR.
Utilities - Class in com.easypost.easyvcr
 
Utilities() - Constructor for class com.easypost.easyvcr.internal.Utilities
 
Utilities() - Constructor for class com.easypost.easyvcr.Utilities
 

V

value - Variable in class com.easypost.easyvcr.CensorElement
The value of the element to censor.
valueOf(String) - Static method in enum com.easypost.easyvcr.ExpirationActions
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.easypost.easyvcr.HttpClientType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.easypost.easyvcr.Mode
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.easypost.easyvcr.ExpirationActions
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.easypost.easyvcr.HttpClientType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.easypost.easyvcr.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
VCR - Class in com.easypost.easyvcr
Built-in VCR tool for EasyVCR.
VCR() - Constructor for class com.easypost.easyvcr.VCR
Constructor for VCR.
VCR(AdvancedSettings) - Constructor for class com.easypost.easyvcr.VCR
Constructor for VCR.
VCRException - Exception in com.easypost.easyvcr
Custom exception for EasyVCR.
VCRException(String) - Constructor for exception com.easypost.easyvcr.VCRException
Constructs a new VCRException with the specified detail message.
VIA_RECORDING_HEADER_KEY - Static variable in class com.easypost.easyvcr.Statics
 

W

Warn - Enum constant in enum com.easypost.easyvcr.ExpirationActions
Warn that the recorded interaction is expired, but proceed as normal.
warning(String) - Method in class com.easypost.easyvcr.internal.ConsoleFallbackLogger
Logs a warning message to the logger or console.
whenExpired - Variable in class com.easypost.easyvcr.AdvancedSettings
 
write(byte[]) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableRequestBody
 
write(byte[], int, int) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableRequestBody
 
write(int) - Method in class com.easypost.easyvcr.clients.httpurlconnection.RecordableRequestBody
 
writeFile(String, String) - Static method in class com.easypost.easyvcr.internal.Files
Writes a file.
A B C D E F G H I L M N O P Q R S T U V W 
All Classes|All Packages|Constant Field Values|Serialized Form