A B C D E F G H I J L M N O P R S T U W X 

A

AnyRequestModifier - Interface in com.github.restdriver.serverdriver.http
Common interface for classes which are intended to modify any request.
applyTo(ServerDriverHttpUriRequest) - Method in interface com.github.restdriver.serverdriver.http.AnyRequestModifier
Apply this modifier to the given request.
applyTo(ServerDriverHttpUriRequest) - Method in class com.github.restdriver.serverdriver.http.BasicAuth
 
applyTo(ServerDriverHttpUriRequest) - Method in interface com.github.restdriver.serverdriver.http.BodyableRequestModifier
Deprecated.
Apply this modifier to the given request.
applyTo(ServerDriverHttpUriRequest) - Method in class com.github.restdriver.serverdriver.http.ByteArrayRequestBody
 
applyTo(ServerDriverHttpUriRequest) - Method in class com.github.restdriver.serverdriver.http.Header
 
applyTo(ServerDriverHttpUriRequest) - Method in class com.github.restdriver.serverdriver.http.NoOpRequestProxy
 
applyTo(ServerDriverHttpUriRequest) - Method in class com.github.restdriver.serverdriver.http.RequestBody
 
applyTo(ServerDriverHttpUriRequest) - Method in class com.github.restdriver.serverdriver.http.RequestConnectionTimeout
 
applyTo(ServerDriverHttpUriRequest) - Method in class com.github.restdriver.serverdriver.http.RequestProxy
 
applyTo(ServerDriverHttpUriRequest) - Method in class com.github.restdriver.serverdriver.http.RequestSocketTimeout
 
applyTo(ServerDriverHttpUriRequest) - Method in class com.github.restdriver.serverdriver.http.RequestTimeout
 
asBytes() - Method in class com.github.restdriver.serverdriver.http.response.DefaultResponse
 
asBytes() - Method in interface com.github.restdriver.serverdriver.http.response.Response
The body of the response as a byte array, for dealing with binary data or troubleshooting encoding issues.
asDateTime() - Method in class com.github.restdriver.serverdriver.http.Header
The value of this header as a JodaTime DateTime in UTC.
asJson() - Method in class com.github.restdriver.serverdriver.http.response.DefaultResponse
 
asJson() - Method in interface com.github.restdriver.serverdriver.http.response.Response
Returns the JSON response content as a JsonNode, or throws RuntimeMappingException.
asJson(Response) - Static method in class com.github.restdriver.serverdriver.Json
Converts the content of the response to a JSON node.
asJson(String) - Static method in class com.github.restdriver.serverdriver.Json
Converts the given string to a JSON node.
asText() - Method in class com.github.restdriver.serverdriver.http.response.DefaultResponse
 
asText() - Method in interface com.github.restdriver.serverdriver.http.response.Response
What was the content of the response?
asXml() - Method in class com.github.restdriver.serverdriver.http.response.DefaultResponse
 
asXml() - Method in interface com.github.restdriver.serverdriver.http.response.Response
Returns the XML response content as an org.w3c.Element, or throws RuntimeMappingException.
asXml(String) - Static method in class com.github.restdriver.serverdriver.Xml
Deprecated.
Instead of doing asXml(response.getContent()) you can now do asXml(response).
asXml(Response) - Static method in class com.github.restdriver.serverdriver.Xml
Converts the body of the given Response to an XML element.

B

BasicAuth - Class in com.github.restdriver.serverdriver.http
Modifies a request by adding an HTTP basic authorization header.
BasicAuth(String, String) - Constructor for class com.github.restdriver.serverdriver.http.BasicAuth
Creates a new instance of the class.
bigDump() - Method in class com.github.restdriver.serverdriver.http.response.DefaultResponse
 
bigDump() - Method in interface com.github.restdriver.serverdriver.http.response.Response
Prints the output of Response.toString() to System.out, but without truncating the response body.
body(String, String) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
Make a RequestBody for PUT or POST.
body(byte[], String) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
Make a RequestBody from a byte array.
body(InputStream, String) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
Make a RequestBody from an InputStream.
body(Reader, String) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
Make a RequestBody from a Reader.
BodyableRequestModifier - Interface in com.github.restdriver.serverdriver.http
Deprecated.
There is now no distinction between different requests. Bodies are allowed anywhere! You should extend AnyRequestModifier instead.
ByteArrayRequestBody - Class in com.github.restdriver.serverdriver.http
Encapsulates a request body created from an array of bytes.
ByteArrayRequestBody(byte[], String) - Constructor for class com.github.restdriver.serverdriver.http.ByteArrayRequestBody
Creates a new body instance

C

com.github.restdriver.serverdriver - package com.github.restdriver.serverdriver
 
com.github.restdriver.serverdriver.file - package com.github.restdriver.serverdriver.file
 
com.github.restdriver.serverdriver.http - package com.github.restdriver.serverdriver.http
 
com.github.restdriver.serverdriver.http.exception - package com.github.restdriver.serverdriver.http.exception
 
com.github.restdriver.serverdriver.http.request - package com.github.restdriver.serverdriver.http.request
 
com.github.restdriver.serverdriver.http.response - package com.github.restdriver.serverdriver.http.response
 
com.github.restdriver.serverdriver.matchers - package com.github.restdriver.serverdriver.matchers
 
com.github.restdriver.serverdriver.polling - package com.github.restdriver.serverdriver.polling
 
containingValue(Matcher<?>) - Static method in class com.github.restdriver.serverdriver.Json
Creates a new instance of ContainingValue.

D

DATE_FORMAT - Static variable in class com.github.restdriver.serverdriver.matchers.Rfc1123DateMatcher
 
DEFAULT_CONNECTION_TIMEOUT - Static variable in class com.github.restdriver.serverdriver.RestServerDriver
 
DEFAULT_SOCKET_TIMEOUT - Static variable in class com.github.restdriver.serverdriver.RestServerDriver
 
DefaultResponse - Class in com.github.restdriver.serverdriver.http.response
Our class which describes an HTTP response.
DefaultResponse(HttpResponse, long) - Constructor for class com.github.restdriver.serverdriver.http.response.DefaultResponse
Constructor from apache HttpResponse.
delete(Object, AnyRequestModifier...) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
Send an HTTP delete.
deleteOf(Object, AnyRequestModifier...) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
deleting(Object, AnyRequestModifier...) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
describeMismatchSafely(Response, Description) - Method in class com.github.restdriver.serverdriver.matchers.HasHeader
 
describeMismatchSafely(Response, Description) - Method in class com.github.restdriver.serverdriver.matchers.HasHeaderWithValue
 
describeMismatchSafely(Response, Description) - Method in class com.github.restdriver.serverdriver.matchers.HasStatusCode
 
describeTo(Description) - Method in class com.github.restdriver.serverdriver.matchers.HasHeader
 
describeTo(Description) - Method in class com.github.restdriver.serverdriver.matchers.HasHeaderWithValue
 
describeTo(Description) - Method in class com.github.restdriver.serverdriver.matchers.HasResponseBody
 
describeTo(Description) - Method in class com.github.restdriver.serverdriver.matchers.HasStatusCode
 
describeTo(Description) - Method in class com.github.restdriver.serverdriver.matchers.Rfc1123DateMatcher
 
doDeleteOf(Object, AnyRequestModifier...) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
doGetOf(Object, AnyRequestModifier...) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
doHeadOf(Object, AnyRequestModifier...) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
doPostOf(Object, AnyRequestModifier...) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
doPutOf(Object, AnyRequestModifier...) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
dump() - Method in class com.github.restdriver.serverdriver.http.response.DefaultResponse
 
dump() - Method in interface com.github.restdriver.serverdriver.http.response.Response
Prints the output of Response.toString() to System.out.

E

equals(Object) - Method in class com.github.restdriver.serverdriver.http.Header
 
every(long, TimeUnit) - Static method in class com.github.restdriver.serverdriver.polling.Poller
For helping your fluent interface, this simply creates a TimeDuration object in a more natural way.
extractXPathValue(String, Element) - Static method in class com.github.restdriver.serverdriver.Xml
Extracts an XPath value from an XML element and returns the result as a string.

F

FileHelper - Class in com.github.restdriver.serverdriver.file
Utility class to help with loading files from the classpath.
FileHelper.FileWithParametersBuilder - Class in com.github.restdriver.serverdriver.file
Class to help substitute parameters in a file.
FileHelper.FileWithParametersBuilder(String) - Constructor for class com.github.restdriver.serverdriver.file.FileHelper.FileWithParametersBuilder
 
fromFile(String, String) - Static method in class com.github.restdriver.serverdriver.file.FileHelper
Reads in a resource from the class path.
fromFile(String) - Static method in class com.github.restdriver.serverdriver.file.FileHelper
Reads in a resource from the class path, using UTF-8 encoding.
fromFileWithParameters(String) - Static method in class com.github.restdriver.serverdriver.file.FileHelper
Reads in a resource from the class path and allow parameters in the file to substituted with other strings.
fromFileWithParameters(String, String) - Static method in class com.github.restdriver.serverdriver.file.FileHelper
Reads in a resource from the class path and allow parameters in the file to substituted with other strings.

G

get(Object, AnyRequestModifier...) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
Perform an HTTP GET on a resource.
getConnectionTimeout() - Method in class com.github.restdriver.serverdriver.http.ServerDriverHttpUriRequest
Getter.
getContent() - Method in class com.github.restdriver.serverdriver.http.RequestBody
Deprecated.
This shouldn't need to be exposed. Expect it to go away in the future.
getContent() - Method in class com.github.restdriver.serverdriver.http.response.DefaultResponse
 
getContent() - Method in interface com.github.restdriver.serverdriver.http.response.Response
What was the content of the response?
getContentType() - Method in class com.github.restdriver.serverdriver.http.RequestBody
Deprecated.
This shouldn't need to be exposed. Expect it to go away in the future.
getDateTime(String) - Method in class com.github.restdriver.serverdriver.matchers.Rfc1123DateMatcher
Parse a string as if it is an RFC1123-compliant date.
getDuration() - Method in class com.github.restdriver.serverdriver.polling.TimeDuration
 
getHeader(String) - Method in class com.github.restdriver.serverdriver.http.response.DefaultResponse
 
getHeader(String) - Method in interface com.github.restdriver.serverdriver.http.response.Response
Get the value of an individual Header.
getHeaders() - Method in class com.github.restdriver.serverdriver.http.response.DefaultResponse
 
getHeaders(String) - Method in class com.github.restdriver.serverdriver.http.response.DefaultResponse
 
getHeaders() - Method in interface com.github.restdriver.serverdriver.http.response.Response
What headers did the server send?
getHeaders(String) - Method in interface com.github.restdriver.serverdriver.http.response.Response
Get the all headers with the specified name.
getHttpUriRequest() - Method in class com.github.restdriver.serverdriver.http.ServerDriverHttpUriRequest
Get the wrapped HttpUriRequest.
getMethod() - Method in class com.github.restdriver.serverdriver.http.request.HttpDeleteWithEntity
 
getMethod() - Method in class com.github.restdriver.serverdriver.http.request.HttpGetWithEntity
 
getName() - Method in class com.github.restdriver.serverdriver.http.Header
Get the name of this header.
getOf(Object, AnyRequestModifier...) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
getProxyHost() - Method in class com.github.restdriver.serverdriver.http.ServerDriverHttpUriRequest
Getter.
getResponseTime() - Method in class com.github.restdriver.serverdriver.http.response.DefaultResponse
 
getResponseTime() - Method in interface com.github.restdriver.serverdriver.http.response.Response
How long did the response take?
getSocketTimeout() - Method in class com.github.restdriver.serverdriver.http.ServerDriverHttpUriRequest
Getter.
getStatusCode() - Method in class com.github.restdriver.serverdriver.http.response.DefaultResponse
 
getStatusCode() - Method in interface com.github.restdriver.serverdriver.http.response.Response
What was the response code?
getTimeUnit() - Method in class com.github.restdriver.serverdriver.polling.TimeDuration
 
getting(Object, AnyRequestModifier...) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
getValue() - Method in class com.github.restdriver.serverdriver.http.Header
Get the value of this header.

H

hashCode() - Method in class com.github.restdriver.serverdriver.http.Header
 
HasHeader - Class in com.github.restdriver.serverdriver.matchers
Matcher to assert on the headers in an HTTP response.
hasHeader(String) - Static method in class com.github.restdriver.serverdriver.Matchers
Creates a new instance of HasHeader.
hasHeader(Header) - Static method in class com.github.restdriver.serverdriver.Matchers
Creates a new instance of HasHeader.
hasHeader(String, String) - Static method in class com.github.restdriver.serverdriver.Matchers
Synonym for HasHeaderWithValue, using exact match for the value.
hasHeader(String, Matcher<String>) - Static method in class com.github.restdriver.serverdriver.Matchers
Synonym for HasHeaderWithValue, using matcher for the value.
HasHeader(String) - Constructor for class com.github.restdriver.serverdriver.matchers.HasHeader
Creates an instance of this matcher.
HasHeaderWithValue - Class in com.github.restdriver.serverdriver.matchers
Matcher to enable assertion on HTTP header values.
hasHeaderWithValue(String, Matcher<String>) - Static method in class com.github.restdriver.serverdriver.Matchers
Creates a new instance of HasHeaderWithValue.
HasHeaderWithValue(String, Matcher<String>) - Constructor for class com.github.restdriver.serverdriver.matchers.HasHeaderWithValue
Creates a new instance of this matcher.
hasJsonArray(String, Matcher<?>) - Static method in class com.github.restdriver.serverdriver.Json
Creates a new instance of HasJsonArray.
hasJsonPath(String) - Static method in class com.github.restdriver.serverdriver.Matchers
Checks whether the given JSON object matches the JSONpath.
hasJsonPath(String, Matcher<T>) - Static method in class com.github.restdriver.serverdriver.Matchers
Checks whether the given JSON object matches the JSONpath.
hasJsonValue(String, Matcher<?>) - Static method in class com.github.restdriver.serverdriver.Json
Creates a new instance of HasJsonValue.
HasResponseBody - Class in com.github.restdriver.serverdriver.matchers
Matcher to check that an HttpResponse has the specified body.
hasResponseBody(Matcher<String>) - Static method in class com.github.restdriver.serverdriver.Matchers
Creates a new instance of HasResponseBody.
HasResponseBody(Matcher<String>) - Constructor for class com.github.restdriver.serverdriver.matchers.HasResponseBody
Creates a new instance of this matcher.
HasStatusCode - Class in com.github.restdriver.serverdriver.matchers
Matcher to check whether an HTTP response has a particular status code.
hasStatusCode(int) - Static method in class com.github.restdriver.serverdriver.Matchers
Creates a new instance of HasStatusCode.
hasStatusCode(Matcher<Integer>) - Static method in class com.github.restdriver.serverdriver.Matchers
Creates a new instance of HasStatusCode.
HasStatusCode(Matcher<Integer>) - Constructor for class com.github.restdriver.serverdriver.matchers.HasStatusCode
Creates an instance of this matcher.
head(Object, AnyRequestModifier...) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
Perform an HTTP HEAD on a resource.
Header - Class in com.github.restdriver.serverdriver.http
Represents an HTTP header.
Header(String, String) - Constructor for class com.github.restdriver.serverdriver.http.Header
Creates a new header instance.
Header(String) - Constructor for class com.github.restdriver.serverdriver.http.Header
Creates a new header instance.
header(String, String) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
Make a Header.
header(String) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
Make a Header.
headOf(Object, AnyRequestModifier...) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
HttpDeleteWithEntity - Class in com.github.restdriver.serverdriver.http.request
A version of the HTTP DELETE method which accepts an entity
HttpDeleteWithEntity(String) - Constructor for class com.github.restdriver.serverdriver.http.request.HttpDeleteWithEntity
Creates a new instance of this request.
HttpGetWithEntity - Class in com.github.restdriver.serverdriver.http.request
A version of the HTTP GET method which accepts an entity
HttpGetWithEntity(String) - Constructor for class com.github.restdriver.serverdriver.http.request.HttpGetWithEntity
Creates a new instance of this request.

I

ImmutableUrl - Class in com.github.restdriver.serverdriver.http
Immutable version of the Url class.
ImmutableUrl(String) - Constructor for class com.github.restdriver.serverdriver.http.ImmutableUrl
Setup an ImmutableUrl with a base path, like "http://localhost:8080".
isRfc1123Compliant() - Static method in class com.github.restdriver.serverdriver.Matchers
Checks whether a header's value is a valid date according to RFC1123.
isValidDateHeader() - Static method in class com.github.restdriver.serverdriver.Matchers
Checks whether a header's value is a valid date according to RFC1123.

J

Json - Class in com.github.restdriver.serverdriver
Class supplying static methods to help with JSON representations.

L

loudly() - Method in class com.github.restdriver.serverdriver.polling.Poller
Call this method in your poll() implementation (before any assertions) to enable logging of intermediate assertions to System.out.

M

Matchers - Class in com.github.restdriver.serverdriver
Class to help easy & fluent use of our matchers.
matchesSafely(Response) - Method in class com.github.restdriver.serverdriver.matchers.HasHeader
 
matchesSafely(Response) - Method in class com.github.restdriver.serverdriver.matchers.HasHeaderWithValue
 
matchesSafely(Response) - Method in class com.github.restdriver.serverdriver.matchers.HasResponseBody
 
matchesSafely(Response) - Method in class com.github.restdriver.serverdriver.matchers.HasStatusCode
 
matchesSafely(Header) - Method in class com.github.restdriver.serverdriver.matchers.Rfc1123DateMatcher
 
MAX_BODY_DISPLAY_LENGTH - Static variable in interface com.github.restdriver.serverdriver.http.response.Response
The maximum number of response body characters to display.
METHOD_NAME - Static variable in class com.github.restdriver.serverdriver.http.request.HttpDeleteWithEntity
The HTTP method name.
METHOD_NAME - Static variable in class com.github.restdriver.serverdriver.http.request.HttpGetWithEntity
The HTTP method name.

N

NoOpRequestProxy - Class in com.github.restdriver.serverdriver.http
This class instructs the server-driver to use no proxy.
NoOpRequestProxy() - Constructor for class com.github.restdriver.serverdriver.http.NoOpRequestProxy
 
notUsingProxy() - Static method in class com.github.restdriver.serverdriver.RestServerDriver
Do not use a proxy.

O

options(Object) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
Perform an HTTP OPTIONS on a resource.
optionsOf(Object) - Static method in class com.github.restdriver.serverdriver.RestServerDriver

P

poll() - Method in class com.github.restdriver.serverdriver.polling.Poller
Override this method with some kind of assertion that will be re-run according to the polling schedule.
Poller - Class in com.github.restdriver.serverdriver.polling
For making asynchronous assertions.
Poller() - Constructor for class com.github.restdriver.serverdriver.polling.Poller
Creates a new Poller set to repeat the poll() once per second for ten seconds.
Poller(int) - Constructor for class com.github.restdriver.serverdriver.polling.Poller
Creates a new Poller set to repeat the poll() once per second for the specified number of times.
Poller(int, TimeDuration) - Constructor for class com.github.restdriver.serverdriver.polling.Poller
Creates a new Poller set to repeat the poll() once every sleepDuration timeUnits for the specified number of times.
post(Object, AnyRequestModifier...) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
Perform an HTTP POST to the given URL.
posting(Object, AnyRequestModifier...) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
postOf(Object, AnyRequestModifier...) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
put(Object, AnyRequestModifier...) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
Perform an HTTP PUT to the given URL.
putOf(Object, AnyRequestModifier...) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
putting(Object, AnyRequestModifier...) - Static method in class com.github.restdriver.serverdriver.RestServerDriver

R

RequestBody - Class in com.github.restdriver.serverdriver.http
Encapsulates a Request body for a method.
RequestBody(String, String) - Constructor for class com.github.restdriver.serverdriver.http.RequestBody
Creates a new request body instance.
RequestConnectionTimeout - Class in com.github.restdriver.serverdriver.http
Encapsulates a request using a connection timeout.
RequestConnectionTimeout(long) - Constructor for class com.github.restdriver.serverdriver.http.RequestConnectionTimeout
Constructor.
RequestProxy - Class in com.github.restdriver.serverdriver.http
Encapsulates a request to use an HTTP proxy.
RequestProxy(String, int) - Constructor for class com.github.restdriver.serverdriver.http.RequestProxy
Constructor.
RequestSocketTimeout - Class in com.github.restdriver.serverdriver.http
Encapsulates a request using a socket timeout.
RequestSocketTimeout(long) - Constructor for class com.github.restdriver.serverdriver.http.RequestSocketTimeout
Constructor.
RequestTimeout - Class in com.github.restdriver.serverdriver.http
 
RequestTimeout(long, long) - Constructor for class com.github.restdriver.serverdriver.http.RequestTimeout
Constructor.
Response - Interface in com.github.restdriver.serverdriver.http.response
Encapsulates a response from an HTTP server.
RestServerDriver - Class in com.github.restdriver.serverdriver
Provides static methods for performing HTTP requests against a resource.
Rfc1123DateMatcher - Class in com.github.restdriver.serverdriver.matchers
Matcher to check that headers contain dates which are spec-valid.
Rfc1123DateMatcher() - Constructor for class com.github.restdriver.serverdriver.matchers.Rfc1123DateMatcher
 
RuntimeClientProtocolException - Exception in com.github.restdriver.serverdriver.http.exception
Runtime wrapper for ClientProtocolException.
RuntimeClientProtocolException(ClientProtocolException) - Constructor for exception com.github.restdriver.serverdriver.http.exception.RuntimeClientProtocolException
Create a new instance of the exception with a given cause.
RuntimeDateFormatException - Exception in com.github.restdriver.serverdriver.http.exception
Runtime wrapper for ParseException.
RuntimeDateFormatException(ParseException) - Constructor for exception com.github.restdriver.serverdriver.http.exception.RuntimeDateFormatException
Constructor which takes the original ParseException.
RuntimeFileNotFoundException - Exception in com.github.restdriver.serverdriver.file
Runtime wrapper for FileNotFoundException.
RuntimeFileNotFoundException(FileNotFoundException) - Constructor for exception com.github.restdriver.serverdriver.file.RuntimeFileNotFoundException
Creates a new instance of the exception.
RuntimeHttpHostConnectException - Exception in com.github.restdriver.serverdriver.http.exception
Runtime wrapper for HttpHostConnectException.
RuntimeHttpHostConnectException(HttpHostConnectException) - Constructor for exception com.github.restdriver.serverdriver.http.exception.RuntimeHttpHostConnectException
Create a new instance of the exception with a given cause.
RuntimeInterruptedException - Exception in com.github.restdriver.serverdriver.http.exception
RuntimeException wrapper for InterruptedException.
RuntimeInterruptedException(String, InterruptedException) - Constructor for exception com.github.restdriver.serverdriver.http.exception.RuntimeInterruptedException
Constructor.
RuntimeMappingException - Exception in com.github.restdriver.serverdriver.http.exception
Exception thrown when HTTP response bodies cannot be mapped to Java Objects as expected.
RuntimeMappingException(String, Exception) - Constructor for exception com.github.restdriver.serverdriver.http.exception.RuntimeMappingException
Create a new exception.
RuntimeUnknownHostException - Exception in com.github.restdriver.serverdriver.http.exception
RuntimeException wrapper for UnknownHostException.
RuntimeUnknownHostException(UnknownHostException) - Constructor for exception com.github.restdriver.serverdriver.http.exception.RuntimeUnknownHostException
Create a new instance with a specific cause.
RuntimeUriSyntaxException - Exception in com.github.restdriver.serverdriver.http.exception
RuntimeException wrapper for URISyntaxException.
RuntimeUriSyntaxException(String, URISyntaxException) - Constructor for exception com.github.restdriver.serverdriver.http.exception.RuntimeUriSyntaxException
Constructor.

S

ServerDriverHttpUriRequest - Class in com.github.restdriver.serverdriver.http
Wraps an HttpUriRequest with some other details which that class does not support.
ServerDriverHttpUriRequest(HttpUriRequest) - Constructor for class com.github.restdriver.serverdriver.http.ServerDriverHttpUriRequest
Constructor.
setConnectionTimeout(long) - Method in class com.github.restdriver.serverdriver.http.ServerDriverHttpUriRequest
Set the number of milliseconds to use as a connection timeout.
setProxyHost(HttpHost) - Method in class com.github.restdriver.serverdriver.http.ServerDriverHttpUriRequest
Set the host details to use as a proxy.
setSocketTimeout(long) - Method in class com.github.restdriver.serverdriver.http.ServerDriverHttpUriRequest
Set the number of milliseconds to use as a socket timeout.

T

TimeDuration - Class in com.github.restdriver.serverdriver.polling
Immutable value object that encapsulates a duration of time.
TimeDuration(long, TimeUnit) - Constructor for class com.github.restdriver.serverdriver.polling.TimeDuration
Constructor.
times(int) - Static method in class com.github.restdriver.serverdriver.polling.Poller
For helping you define your fluent interface.
tinyDump() - Method in class com.github.restdriver.serverdriver.http.response.DefaultResponse
 
tinyDump() - Method in interface com.github.restdriver.serverdriver.http.response.Response
Prints the output of Response.toCompactString() to System.out.
toBigString() - Method in class com.github.restdriver.serverdriver.http.response.DefaultResponse
 
toBigString() - Method in interface com.github.restdriver.serverdriver.http.response.Response
Returns the response headers and body, without truncating the body.
toCompactString() - Method in class com.github.restdriver.serverdriver.http.response.DefaultResponse
 
toCompactString() - Method in interface com.github.restdriver.serverdriver.http.response.Response
Returns the response as a compact single-line String.
toString() - Method in class com.github.restdriver.serverdriver.file.FileHelper.FileWithParametersBuilder
 
toString() - Method in class com.github.restdriver.serverdriver.http.Header
 
toString() - Method in class com.github.restdriver.serverdriver.http.ImmutableUrl
You can pass this object to all the get/post/put/delete etc methods.
toString() - Method in class com.github.restdriver.serverdriver.http.response.DefaultResponse
 
toString() - Method in interface com.github.restdriver.serverdriver.http.response.Response
Returns the response headers and body, truncating the body.
toString() - Method in class com.github.restdriver.serverdriver.http.Url
You can pass this object to all the get/post/put/delete etc methods.

U

Url - Class in com.github.restdriver.serverdriver.http
Class to help with building of URLs.
Url(String) - Constructor for class com.github.restdriver.serverdriver.http.Url
Setup a Url with a base path, like "http://localhost:8080".
Url(Url) - Constructor for class com.github.restdriver.serverdriver.http.Url
Copy constructor.
url(String) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
Creates a new Url object.
usingProxy(String, int) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
Use a user-specified proxy.
usingSystemProxy() - Static method in class com.github.restdriver.serverdriver.RestServerDriver
Use the system proxy.

W

withBasicAuth(String, String) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
Use HTTP basic authentication.
withConnectionTimeout(int, TimeUnit) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
Specify a connection timeout.
withParam(String, String) - Method in class com.github.restdriver.serverdriver.http.ImmutableUrl
Adds a query-string parameter to the end of the url, like ?key=val.
withParam(String, String) - Method in class com.github.restdriver.serverdriver.http.Url
Adds a query-string parameter to the end of the url, like ?key=val.
withParameter(String, String) - Method in class com.github.restdriver.serverdriver.file.FileHelper.FileWithParametersBuilder
Replace all instances of {{name}} in the file with value.
withParameters(Map<String, String>) - Method in class com.github.restdriver.serverdriver.file.FileHelper.FileWithParametersBuilder
For all entries in parameters replace instances of the {{key}} with value
withPath(String) - Method in class com.github.restdriver.serverdriver.http.ImmutableUrl
Add a path to a url.
withPath(String) - Method in class com.github.restdriver.serverdriver.http.Url
Add a path to a url.
withSize(Matcher<Integer>) - Static method in class com.github.restdriver.serverdriver.Json
Creates a new instance of WithSize.
withSocketTimeout(int, TimeUnit) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
Specify a socket timeout.
withTimeout(int, TimeUnit) - Static method in class com.github.restdriver.serverdriver.RestServerDriver
Use a single timeout value for both connection and socket timeouts.
withValueAt(int, Matcher<?>) - Static method in class com.github.restdriver.serverdriver.Json
Creates a new instance of WithValueAt.

X

Xml - Class in com.github.restdriver.serverdriver
Provides static helper methods for XML representations.
A B C D E F G H I J L M N O P R S T U W X 

Copyright © 2013. All Rights Reserved.