SYMBOL INDEX (216 symbols across 21 files) FILE: src/main/java/com/tinify/AccountException.java class AccountException (line 3) | public class AccountException extends Exception { method AccountException (line 4) | public AccountException() { method AccountException (line 8) | public AccountException(final Throwable t) { method AccountException (line 12) | public AccountException(final String message) { method AccountException (line 16) | public AccountException(final String message, final String type, final... FILE: src/main/java/com/tinify/Client.java class Client (line 23) | public class Client { class Response (line 24) | public class Response { method Response (line 28) | public Response(Headers headers, byte[] body) { type Method (line 52) | public enum Method { method Client (line 57) | public Client(final String key) { method Client (line 61) | public Client(final String key, final String appIdentifier) { method Client (line 65) | public Client(final String key, final String appIdentifier, final Stri... method request (line 100) | public final Response request(final Method method, final String endpoi... method request (line 109) | public final Response request(final Method method, final String endpoi... method request (line 118) | public final Response request(final Method method, final String endpoi... method createProxyAddress (line 122) | private Proxy createProxyAddress(final URL proxy) { method createProxyAuthenticator (line 135) | private Authenticator createProxyAuthenticator(final URL proxy) { method request (line 159) | private Response request(final Method method, final String endpoint, f... FILE: src/main/java/com/tinify/ClientException.java class ClientException (line 3) | public class ClientException extends Exception { method ClientException (line 4) | public ClientException() { method ClientException (line 8) | public ClientException(final Throwable t) { method ClientException (line 12) | public ClientException(final String message, final String type, final ... FILE: src/main/java/com/tinify/ConnectionException.java class ConnectionException (line 3) | public class ConnectionException extends Exception { method ConnectionException (line 4) | public ConnectionException() { method ConnectionException (line 8) | public ConnectionException(final Throwable t) { method ConnectionException (line 12) | public ConnectionException(final String message, final Throwable t) { ... FILE: src/main/java/com/tinify/Exception.java class Exception (line 3) | public class Exception extends RuntimeException { class Data (line 4) | public static class Data { method setMessage (line 8) | public void setMessage(final String message) { method getMessage (line 12) | public final String getMessage() { method setError (line 16) | public void setError(final String error) { method getError (line 20) | public final String getError() { method create (line 25) | public static Exception create(final String message, final String type... method Exception (line 39) | public Exception() { method Exception (line 43) | public Exception(final Throwable t) { method Exception (line 47) | public Exception(final String message) { method Exception (line 51) | public Exception(final String message, final Throwable t) { method Exception (line 55) | public Exception(final String message, final String type, final int st... FILE: src/main/java/com/tinify/Options.java class Options (line 8) | public final class Options { method Options (line 11) | public Options() { method Options (line 15) | public Options(Options options) { method with (line 19) | public Options with(final String key, final Object value) { method with (line 24) | public Options with(final String key, final Options options) { method toJson (line 29) | public final String toJson() { method isEmpty (line 34) | public boolean isEmpty() { FILE: src/main/java/com/tinify/Result.java class Result (line 8) | public class Result extends ResultMeta { method Result (line 11) | public Result(final Headers meta, final byte[] data) { method toFile (line 16) | public void toFile(final String path) throws IOException { method toBuffer (line 20) | public final byte[] toBuffer() { method size (line 24) | public final Integer size() { method mediaType (line 29) | public final String mediaType() { method extension (line 33) | public final String extension() { FILE: src/main/java/com/tinify/ResultMeta.java class ResultMeta (line 5) | public class ResultMeta { method ResultMeta (line 8) | public ResultMeta(final Headers meta) { method width (line 12) | public final Integer width() { method height (line 17) | public final Integer height() { method location (line 22) | public final String location() { FILE: src/main/java/com/tinify/ServerException.java class ServerException (line 3) | public class ServerException extends Exception { method ServerException (line 4) | public ServerException() { method ServerException (line 8) | public ServerException(final Throwable t) { method ServerException (line 12) | public ServerException(final String message, final String type, final ... FILE: src/main/java/com/tinify/Source.java class Source (line 7) | public class Source { method fromFile (line 11) | public static Source fromFile(final String path) throws IOException { method fromBuffer (line 15) | public static Source fromBuffer(final byte[] buffer) { method fromUrl (line 20) | public static Source fromUrl(final String url) { method Source (line 26) | public Source(final String url, final Options commands) { method preserve (line 31) | public final Source preserve(final String... options) { method resize (line 35) | public final Source resize(final Options options) { method convert (line 39) | public final Source convert(final Options options) { method transform (line 43) | public final Source transform(final Options options) { method store (line 47) | public final ResultMeta store(final Options options) { method result (line 53) | public final Result result() throws IOException { method toFile (line 65) | public void toFile(final String path) throws IOException { method toBuffer (line 69) | public final byte[] toBuffer() throws IOException { FILE: src/main/java/com/tinify/TLSContext.java class TLSContext (line 17) | public class TLSContext { method certificateKeyStore (line 51) | private static KeyStore certificateKeyStore() throws GeneralSecurityEx... method certificateStream (line 78) | private static InputStream certificateStream() throws IOException { FILE: src/main/java/com/tinify/Tinify.java class Tinify (line 6) | public class Tinify { method client (line 13) | public static Client client() { method setKey (line 29) | public static void setKey(final String key) { method setProxy (line 34) | public static void setProxy(final String proxy) { method setAppIdentifier (line 39) | public static void setAppIdentifier(final String identifier) { method fromFile (line 44) | public static Source fromFile(final String path) throws IOException { method fromBuffer (line 48) | public static Source fromBuffer(final byte[] buffer) { method fromUrl (line 52) | public static Source fromUrl(final String url) { method validate (line 56) | public static boolean validate() { method key (line 68) | public static String key() { method proxy (line 72) | public static String proxy() { method appIdentifier (line 76) | public static String appIdentifier() { method setCompressionCount (line 80) | public static void setCompressionCount(final int count) { method compressionCount (line 84) | public static int compressionCount() { FILE: src/test/java/com/tinify/BundleManifestIT.java class BundleManifestIT (line 15) | public class BundleManifestIT { method loadBundleManifest (line 24) | private Manifest loadBundleManifest() throws IOException { method bundleHasRequiredOsgiHeaders (line 34) | @Test method importPackageDoesNotContainUnresolvablePackages (line 44) | @Test method exportPackageContainsTinify (line 58) | @Test method bundleEmbedsDependencies (line 68) | @Test FILE: src/test/java/com/tinify/ClientEndpointTest.java class ClientEndpointTest (line 15) | public class ClientEndpointTest { method setup (line 22) | @Before method requestShouldAddApiEndpoint (line 27) | @Test method requestShouldNotAddApiEndpoint (line 46) | @Test FILE: src/test/java/com/tinify/ClientErrorTest.java class ClientErrorTest (line 10) | public class ClientErrorTest { method setup (line 15) | @Before method tearDown (line 23) | @After FILE: src/test/java/com/tinify/ClientTest.java class ClientTest (line 31) | public class ClientTest { method setup (line 36) | @Before method tearDown (line 63) | @After method enqueuShrink (line 68) | public void enqueuShrink() { method requestWhenValidShouldIssueRequest (line 75) | @Test method requestWhenValidShouldIssueRequestToEndpoint (line 85) | @Test method requestWhenValidShouldIssueRequestWithMethod (line 93) | @Test method requestWhenValidShouldReturnResponse (line 101) | @Test method requestWhenValidShouldIssueRequestWithoutBodyWhenOptionsAreEmpty (line 112) | @Test method requestWhenValidShouldIssueRequestWithoutContentTypeWhenOptionsAreEmpty (line 120) | @Test method requestWhenValidShouldIssueRequestWithJSONBody (line 128) | @Test method requestWhenValidShouldIssueRequestWithUserAgent (line 138) | @Test method requestWhenValidShouldUpdateCompressionCount (line 146) | @Test method requestWhenValidWithAppIdShouldIssueRequestWithUserAgent (line 153) | @Test method requestWhenValidWithProxyShouldIssueRequestWithProxyAuthorization (line 162) | @Test method requestWithTimeoutOnceShouldReturnResponse (line 173) | @Test method requestWithTimeoutRepeatedlyShouldThrowConnectionException (line 197) | @Test(expected = ConnectionException.class) method requestWithTimeoutRepeatedlyShouldThrowExceptionWithMessage (line 209) | @Test method requestWithSocketErrorOnceShouldReturnResponse (line 226) | @Test method requestWithSocketErrorRepeatedlyShouldThrowConnectionException (line 250) | @Test(expected = ConnectionException.class) method requestWithSocketErrorRepeatedlyShouldThrowExceptionWithMessage (line 262) | @Test method requestWithUnexpectedExceptionOnceShouldReturnResponse (line 279) | @Test method requestWithUnexpectedExceptionRepeatedlyShouldThrowConnectionException (line 303) | @Test(expected = ConnectionException.class) method requestWithUnexpectedExceptionRepeatedlyShouldThrowExceptionWithMessage (line 315) | @Test method requestWithServerErrorOnceShouldReturnResponse (line 332) | @Test method requestWithServerErrorRepeatedlyShouldThrowServerException (line 345) | @Test(expected = ServerException.class) method requestWithServerErrorRepeatedlyShouldThrowExceptionWithMessage (line 357) | @Test method requestWithBadServerResponseOnceShouldReturnResponse (line 374) | @Test method requestWithBadServerResponseRepeatedlyShouldThrowServerException (line 387) | @Test(expected = ServerException.class) method requestWithBlankServerResponseRepeatedlyShouldThrowServerException (line 399) | @Test method requestWithBadServerResponseRepeatedlyShouldThrowExceptionWithMessage (line 415) | @Test method requestWithClientErrorShouldThrowClientException (line 433) | @Test(expected = ClientException.class) method requestWithClientErrorShouldThrowExceptionWithMessage (line 442) | @Test method requestWithBadCredentialsShouldThrowAccountException (line 456) | @Test(expected = AccountException.class) method requestWithBadCredentialsShouldThrowExceptionWithMessage (line 465) | @Test FILE: src/test/java/com/tinify/Integration.java class Integration (line 20) | public class Integration { method setup (line 23) | @BeforeClass method shouldCompressFromFile (line 39) | @Test method shouldCompressFromUrl (line 61) | @Test method shouldResize (line 85) | @Test method shouldPreserveMetadata (line 111) | @Test method shouldConvertFile (line 133) | @Test method shouldTransformFile (line 151) | @Test FILE: src/test/java/com/tinify/ResultMetaTest.java class ResultMetaTest (line 14) | public class ResultMetaTest { method setup (line 17) | @Before method withMetadataWidthShouldReturnImageWidth (line 27) | @Test method withMetadataHeightShouldReturnImageHeight (line 32) | @Test method withMetadataLocationShouldReturnLocation (line 37) | @Test method withoutMetadataWidthShouldReturnNull (line 42) | @Test method withoutMetadataHeightShouldReturnNull (line 48) | @Test method withoutMetadataLocationShouldReturnNull (line 54) | @Test FILE: src/test/java/com/tinify/ResultTest.java class ResultTest (line 14) | public class ResultTest { method setup (line 17) | @Before method withMetaAndDataWidthShouldReturnImageWidth (line 28) | @Test method withMetaAndDataHeightShouldReturnImageHeight (line 33) | @Test method withMetaAndDataLocationShouldReturnNull (line 38) | @Test method withMetaAndDataSizeShouldReturnContentLength (line 43) | @Test method withMetaAndDataMediaTypeShouldReturnContentType (line 48) | @Test method withMetaAndDataToBufferShouldReturnImageData (line 53) | @Test method withMetaAndDataMediaTypeShouldReturnExtension (line 58) | @Test method withoutMetaAndDataWidthShouldReturnNull (line 63) | @Test method withoutMetaAndDataHeightShouldReturnNull (line 69) | @Test method withoutMetaAndDataLocationShouldReturnNull (line 75) | @Test method withoutMetaAndDataSizeShouldReturnNull (line 81) | @Test method withoutMetaAndDataContentTypeShouldReturnNull (line 87) | @Test method withoutMetaAndDataToBufferShouldReturnNull (line 93) | @Test method withoutMetaAndDataMediaTypeShouldReturnNull (line 99) | @Test FILE: src/test/java/com/tinify/SourceTest.java class SourceTest (line 31) | public class SourceTest { method setup (line 34) | @Before method tearDown (line 60) | @After method assertJsonEquals (line 65) | public void assertJsonEquals(String expected, String actual) method withInvalidApiKeyFromFileShouldThrowAccountException (line 76) | @Test(expected = AccountException.class) method withInvalidApiKeyFromBufferShouldThrowAccountException (line 88) | @Test(expected = AccountException.class) method withInvalidApiKeyFromUrlShouldThrowAccountException (line 99) | @Test(expected = AccountException.class) method withValidApiKeyFromFileShouldReturnSource (line 110) | @Test method withValidApiKeyFromFileShouldReturnSourceWithData (line 123) | @Test method withValidApiKeyFromBufferShouldReturnSource (line 139) | @Test method withValidApiKeyFromBufferShouldReturnSourceWithData (line 151) | @Test method withValidApiKeyFromUrlShouldReturnSource (line 167) | @Test method withValidApiKeyFromUrlShouldReturnSourceWithData (line 179) | @Test method withValidApiKeyFromUrlShouldThrowExceptionIfRequestIsNotOK (line 198) | @Test(expected = ClientException.class) method withValidApiKeyResultShouldReturnResult (line 209) | @Test method withValidApiKeyPreserveShouldReturnSource (line 226) | @Test method withValidApiKeyConvertShouldReturnSource (line 245) | @Test method withValidApiKeyPreserveShouldReturnSourceWithData (line 264) | @Test method withValidApiKeyPreserveShouldReturnSourceWithDataForArray (line 286) | @Test method withValidApiKeyPreserveShouldIncludeOtherOptionsIfSet (line 309) | @Test method withValidApiKeyResizeShouldReturnSource (line 333) | @Test method withValidApiKeyResizeShouldReturnSourceWithData (line 354) | @Test method withValidApiKeyTransformShouldReturnSourceWithData (line 378) | @Test method withValidApiKeyStoreShouldReturnResultMeta (line 402) | @Test method withValidApiKeyStoreShouldReturnResultMetaWithLocation (line 427) | @Test method withValidApiKeyStoreShouldIncludeOtherOptionsIfSet (line 452) | @Test method withValidApiKeyToBufferShouldReturnImageData (line 481) | @Test method withValidApiKeyToFileShouldStoreImageData (line 498) | @Test method withOptionsNotEmptyResultDoesAPOST (line 524) | @Test method withOptionsNULLResultDoesAGET (line 536) | @Test method withOptionsEmptyResultDoesAGET (line 548) | @Test FILE: src/test/java/com/tinify/TinifyTest.java class TinifyTest (line 27) | public class TinifyTest { method setup (line 30) | @Before method tearDown (line 56) | @After method keyShouldResetClientWithNewKey (line 63) | @Test method appIdentifierShouldResetClientWithNewAppIdentifier (line 78) | @Test method proxyShouldResetClientWithNewProxy (line 92) | @Test method clientWithKeyShouldReturnClient (line 108) | @Test method clientWithoutKeyShouldThrowException (line 114) | @Test(expected = AccountException.class) method clientWithInvalidProxyShouldThrowException (line 119) | @Test(expected = ConnectionException.class) method validateWithValidKeyShouldReturnTrue (line 126) | @Test method validateWithLimitedKeyShouldReturnTrue (line 140) | @Test method validateWithErrorShouldThrowException (line 154) | @Test(expected = AccountException.class) method fromBufferShouldReturnSource (line 168) | @Test method fromFileShouldReturnSource (line 180) | @Test