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

A

AbstractCallback<IN,OUT> - Class in com.flyingspaniel.nava.callback
Abstract implementation of a Callback, which also implements Emit.IListener.
Subclasses need only implement callback().
AbstractCallback() - Constructor for class com.flyingspaniel.nava.callback.AbstractCallback
 
AbstractCallback.Canned<IN,OUT> - Class in com.flyingspaniel.nava.callback
Inner class mainly for tests, allows for canned results
AbstractCallback.Canned(Exception, OUT) - Constructor for class com.flyingspaniel.nava.callback.AbstractCallback.Canned
 
AbstractCallback.NOP<IN> - Class in com.flyingspaniel.nava.callback
Class that does nothing (just calls failFast), then returns input unchanged
AbstractCallback.NOP() - Constructor for class com.flyingspaniel.nava.callback.AbstractCallback.NOP
 
acceptCharset(String) - Method in class com.flyingspaniel.nava.request.Request
 
add(Object, Object) - Method in class com.flyingspaniel.nava.request.HTTPMultiMap
Add the field=value pair if not already present synchronized so as to be slightly thread-safe
addFieldValuePairs(Object...) - Method in class com.flyingspaniel.nava.request.HTTPMultiMap
Add pairs of field=value
addListener(Object, Emit.IListener<A0>) - Method in interface com.flyingspaniel.nava.emit.Emit.IEmitter
Add a listener for the specific eventID
addListener(Emit.IListener<A0>) - Method in interface com.flyingspaniel.nava.emit.Emit.IListenerList
 
addListener(Emit.IListener<A0>) - Method in class com.flyingspaniel.nava.emit.EmitListenerList
 
addListener(Object, Emit.IListener<A0>) - Method in class com.flyingspaniel.nava.emit.Emitter
 
addMultiMap(HTTPMultiMap) - Method in class com.flyingspaniel.nava.request.HTTPMultiMap
Add another MultiMap
addQueryString(URLEncoding, String) - Method in class com.flyingspaniel.nava.request.HTTPMultiMap
More for convenience, adds an existing query string to our map
addSingleMap(Map<?, ?>) - Method in class com.flyingspaniel.nava.request.HTTPMultiMap
Add the entire contents of a map of field=value pairs
algorithm - Static variable in enum com.flyingspaniel.nava.net.JRFC2617.Key
 
allowDuplicates - Variable in class com.flyingspaniel.nava.emit.EmitListenerList
 
allowDuplicates - Variable in class com.flyingspaniel.nava.emit.Emitter
 
Android2Lacks - Class in com.flyingspaniel.nava.utils
Helper classes for some useful things lacking in Android 2
Android2Lacks() - Constructor for class com.flyingspaniel.nava.utils.Android2Lacks
 
Android2Lacks.ImmutableMapEntry<K,V> - Class in com.flyingspaniel.nava.utils
Immutable Map.Entry class: Andrdoid 2.2 doesn't have AbstractMap.Simple...
Android2Lacks.ImmutableMapEntry(K, V) - Constructor for class com.flyingspaniel.nava.utils.Android2Lacks.ImmutableMapEntry
 
Android2Lacks.MutableMapEntry<K,V> - Class in com.flyingspaniel.nava.utils
Mutable Map.Entry class: Andrdoid 2.2 doesn't have AbstractMap.Simple...
Android2Lacks.MutableMapEntry(K, V) - Constructor for class com.flyingspaniel.nava.utils.Android2Lacks.MutableMapEntry
 
applyHeadersToConnection(URLConnection) - Method in class com.flyingspaniel.nava.request.HTTPMultiMap
Adds all the field=value pairs to the URLConnection If a field has multiple values, makes multiple calls to conn.addRequestProperty()
applyToConnection(URLConnection) - Method in class com.flyingspaniel.nava.net.JRFC2617
Convenience method to put the repsonse in the connection
asQuery() - Method in enum com.flyingspaniel.nava.net.aws.AWS.Key
 
attempting - Variable in class com.flyingspaniel.nava.request.Request
 
auth(String, String, boolean) - Method in class com.flyingspaniel.nava.request.Request
 
AWS - Class in com.flyingspaniel.nava.net.aws
Constants and enums for Amazon Web Services
AWS.Key - Enum in com.flyingspaniel.nava.net.aws
Enum for keys for queries (go to the left of the = in the URL) Note that we use mixed case so the name() exactly matches the URL terms
AWSSignedRequestsHelper - Class in com.flyingspaniel.nava.net.aws
Based upon Amazon's example code at http://code.google.com/p/amazon-product-advertising-api-sample/source/browse/src/com/amazon/advertising/api/sample/SignedRequestsHelper.java?r=3
AWSSignedRequestsHelper(String) - Constructor for class com.flyingspaniel.nava.net.aws.AWSSignedRequestsHelper
Constructor

B

Base64Coder - Class in com.flyingspaniel.nava.lib3rdparty
A Base64 encoder/decoder.
baseUrl - Variable in class com.flyingspaniel.nava.request.Request
 
body - Variable in class com.flyingspaniel.nava.request.Response
 
booleanFrom(Object) - Static method in class com.flyingspaniel.nava.hash.To
 
booleanOr(Object, boolean) - Static method in class com.flyingspaniel.nava.hash.To
 

C

calendar - Variable in class com.flyingspaniel.nava.net.aws.AWSSignedRequestsHelper
 
call() - Method in class com.flyingspaniel.nava.request.Request
 
call1() - Method in class com.flyingspaniel.nava.request.Request
 
callableCallback(Callback<IN, OUT>, Exception, IN, Object...) - Static method in class com.flyingspaniel.nava.callback.Callbacks
Convert any Callback into a Callable
callableRunASync(ExecutorService, Callback, Object, Object...) - Static method in class com.flyingspaniel.nava.callback.Callbacks
By wrapping runASyncInLine() in a Callable, we can now run *everything* off the original thread.
callableRunSync(Callback, Object, Object...) - Static method in class com.flyingspaniel.nava.callback.Callbacks
Wraps runSync() in a Callable so it can be run in another thread
callback(Exception, IN, Object...) - Method in class com.flyingspaniel.nava.callback.AbstractCallback
 
callback(Exception, IN, Object...) - Method in class com.flyingspaniel.nava.callback.AbstractCallback.Canned
 
callback(Exception, IN, Object...) - Method in class com.flyingspaniel.nava.callback.AbstractCallback.NOP
 
Callback<IN,OUT> - Interface in com.flyingspaniel.nava.callback
Interface for a javascript/node.js like callback (and chain) Warning: The generics are mainly for documentation and decoration.
callback(Exception, IN, Object...) - Method in interface com.flyingspaniel.nava.callback.Callback
The callback method
callback(Exception, String, Object...) - Method in class com.flyingspaniel.nava.request.Request
 
callback(Exception, IN, Object...) - Method in class com.flyingspaniel.nava.utils.EmittingCallbackFn
 
callback(Exception, IN, Object...) - Method in class com.flyingspaniel.nava.utils.EmittingCallbackFn.NOP
 
Callback.ProducesMore<IN,OUT,MORE> - Interface in com.flyingspaniel.nava.callback
Implement this (rare) if your callback produces "more" than a single output This will be used by a single followup callback as its more...
Callback.ProducesMultiple<IN,OUT> - Interface in com.flyingspaniel.nava.callback
Implement this if your callback produces multiple single outputs to be used by multiple followup callbacks as their IN argument.
CallbackAnd - Class in com.flyingspaniel.nava.callback
Immutable Utility classes/data-structures to group a Callback with associated inputs, outputs, or exceptions
Input and Output are package visible, and are used internally by Callbacks and/or CallbackExecutor
CallbackAnd.Xception - Exception in com.flyingspaniel.nava.callback
Represents an Exception thrown by a Callback Unlike the two others this is public cause users might want to catch it
CallbackAnd.Xception(Callback, Throwable) - Constructor for exception com.flyingspaniel.nava.callback.CallbackAnd.Xception
 
CallbackExecutor - Class in com.flyingspaniel.nava.callback
Class to execute callbacks, and manage their links, using two ExecutorServices
CallbackExecutor(int, int) - Constructor for class com.flyingspaniel.nava.callback.CallbackExecutor
Constructor
callbackExecutorService - Variable in class com.flyingspaniel.nava.callback.CallbackExecutor
 
Callbacks - Class in com.flyingspaniel.nava.callback
Utilities for dealing with Callbacks
canDo(boolean, boolean) - Method in enum com.flyingspaniel.nava.request.HTTPMethod
 
chainUp(Callback, Callback...) - Static method in class com.flyingspaniel.nava.callback.Callbacks
Create a chain of Callbacks, by setting nextCallback along the line...
checkMethodMustUpload() - Method in class com.flyingspaniel.nava.request.Request
 
closeQuietly(Closeable) - Static method in class com.flyingspaniel.nava.utils.Utils
 
com.flyingspaniel.nava.callback - package com.flyingspaniel.nava.callback
 
com.flyingspaniel.nava.emit - package com.flyingspaniel.nava.emit
 
com.flyingspaniel.nava.fp - package com.flyingspaniel.nava.fp
 
com.flyingspaniel.nava.hash - package com.flyingspaniel.nava.hash
 
com.flyingspaniel.nava.lib3rdparty - package com.flyingspaniel.nava.lib3rdparty
 
com.flyingspaniel.nava.net - package com.flyingspaniel.nava.net
 
com.flyingspaniel.nava.net.aws - package com.flyingspaniel.nava.net.aws
 
com.flyingspaniel.nava.request - package com.flyingspaniel.nava.request
 
com.flyingspaniel.nava.utils - package com.flyingspaniel.nava.utils
 
COMMA - Static variable in interface com.flyingspaniel.nava.net.URLEncoding
 
completionService - Variable in class com.flyingspaniel.nava.callback.CallbackExecutor
 
connection - Variable in class com.flyingspaniel.nava.request.Response
 
contentType - Variable in class com.flyingspaniel.nava.request.Response
 
copy(InputStream, OutputStream, boolean) - Method in class com.flyingspaniel.nava.request.Request
 
createChallengeMap(String) - Method in class com.flyingspaniel.nava.net.JRFC2617
 
createCnonce() - Method in class com.flyingspaniel.nava.net.JRFC2617
Create a cnonce.
createCollection() - Method in class com.flyingspaniel.nava.emit.EmitListenerList
This is a good implementation, but subclasses might want to override...
createListenerList() - Method in class com.flyingspaniel.nava.emit.Emitter
This is a good implementation, but subclasses might want to override...
createMessageDigest(String) - Method in class com.flyingspaniel.nava.net.JRFC2617
 
createNonceCountString(int) - Method in class com.flyingspaniel.nava.net.JRFC2617
 
createResponse(String, String, String, String, String) - Method in class com.flyingspaniel.nava.net.JRFC2617
Create the response credentials
createRetryConnection(String, String) - Method in class com.flyingspaniel.nava.net.JRFC2617
This method only works after the failedWith401 style constructor
crMap - Variable in class com.flyingspaniel.nava.net.JRFC2617
 

D

dateFormat - Variable in class com.flyingspaniel.nava.net.aws.AWSSignedRequestsHelper
 
decode(String) - Static method in class com.flyingspaniel.nava.lib3rdparty.Base64Coder
Decodes a byte array from Base64 format.
decode(char[]) - Static method in class com.flyingspaniel.nava.lib3rdparty.Base64Coder
Decodes a byte array from Base64 format.
decode(char[], int, int) - Static method in class com.flyingspaniel.nava.lib3rdparty.Base64Coder
Decodes a byte array from Base64 format.
decode(String) - Method in interface com.flyingspaniel.nava.net.URLEncoding
Decode the encoded String
decodeKVs(String) - Method in interface com.flyingspaniel.nava.net.URLEncoding
Decodes a String of the format key[=][value1][,value2...]
decodeKVs(String) - Method in enum com.flyingspaniel.nava.net.URLEncoding.Impl
 
decodeLines(String) - Static method in class com.flyingspaniel.nava.lib3rdparty.Base64Coder
Decodes a byte array from Base64 format and ignores line separators, tabs and blanks.
decodeString(String) - Static method in class com.flyingspaniel.nava.lib3rdparty.Base64Coder
Decodes a string from Base64 format.
DIGEST - Static variable in class com.flyingspaniel.nava.net.JRFC2617
 
doAuth(HttpURLConnection) - Method in class com.flyingspaniel.nava.request.Request
 
doAWS(Map) - Method in class com.flyingspaniel.nava.request.Request
 
doesInput - Variable in enum com.flyingspaniel.nava.request.HTTPMethod
 
doesInput() - Method in enum com.flyingspaniel.nava.request.HTTPMethod
 
doesOutput - Variable in enum com.flyingspaniel.nava.request.HTTPMethod
 
doesOutput() - Method in enum com.flyingspaniel.nava.request.HTTPMethod
 
doSubstituteMultiMapData(String) - Method in class com.flyingspaniel.nava.request.Request
Useful for POST - replaces $FORMDATA, $HEADERS or $QUERY in the upload string with the corresponding contents of the respective MultiMaps.
doubleFrom(Object) - Static method in class com.flyingspaniel.nava.hash.To
 
doubleOr(Object, double) - Static method in class com.flyingspaniel.nava.hash.To
 
doUpload(OutputStream) - Method in class com.flyingspaniel.nava.request.Request
 

E

Emit - Class in com.flyingspaniel.nava.emit
Interfaces and utilities for node.js style event handling stuff, a simplified, more generic event handling The "events" are passed as an arg0, followed by a possibly empty varags Object...
Emit() - Constructor for class com.flyingspaniel.nava.emit.Emit
 
emit(Object, A0, Object...) - Method in interface com.flyingspaniel.nava.emit.Emit.IEmitter
Fire the event to all listeners for that eventID
emit(Object, A0) - Method in interface com.flyingspaniel.nava.emit.Emit.IEmitter
Convenience method, fire the event to all listeners for that eventID, with more = empty array
emit(A0, Object...) - Method in interface com.flyingspaniel.nava.emit.Emit.IListenerList
 
emit(A0, Object...) - Method in class com.flyingspaniel.nava.emit.EmitListenerList
Fires the event/object
emit(Object, A0, Object...) - Method in class com.flyingspaniel.nava.emit.Emitter
Here's one of the main functions - Fire an event
emit(Object, A0) - Method in class com.flyingspaniel.nava.emit.Emitter
Convenience method, fire the event to all listeners for that eventID, with more = empty array
Emit.IEmitter - Interface in com.flyingspaniel.nava.emit
Interface for objects that can emit/broadcast "events" of various eventIDs
Emit.IListener<A0> - Interface in com.flyingspaniel.nava.emit
Client Interface to listen to "events".
Emit.IListenerList<A0> - Interface in com.flyingspaniel.nava.emit
Interface for emitting only a single eventID of event.
EmitListenerList<A0> - Class in com.flyingspaniel.nava.emit
A semi-replacement for EventListenerList, inspired by node.js Emitters.
EmitListenerList(boolean) - Constructor for class com.flyingspaniel.nava.emit.EmitListenerList
Constructor
Emitter - Class in com.flyingspaniel.nava.emit
An implementation of a node.js-style Emitter, composed of a Map of Emit.IListenerList
Emitter(boolean, Map) - Constructor for class com.flyingspaniel.nava.emit.Emitter
 
Emitter(boolean) - Constructor for class com.flyingspaniel.nava.emit.Emitter
Constructor
Emitter() - Constructor for class com.flyingspaniel.nava.emit.Emitter
Default Constructor with allowDuplicates = false
EmittingCallbackFn<IN,OUT> - Class in com.flyingspaniel.nava.utils
"Do It All" base class Subclasses must override callback(), and may want to override others
EmittingCallbackFn() - Constructor for class com.flyingspaniel.nava.utils.EmittingCallbackFn
 
EmittingCallbackFn.NOP<IN> - Class in com.flyingspaniel.nava.utils
 
EmittingCallbackFn.NOP() - Constructor for class com.flyingspaniel.nava.utils.EmittingCallbackFn.NOP
 
EMPTY - Static variable in interface com.flyingspaniel.nava.net.URLEncoding
 
encode(byte[]) - Static method in class com.flyingspaniel.nava.lib3rdparty.Base64Coder
Encodes a byte array into Base64 format.
encode(byte[], int) - Static method in class com.flyingspaniel.nava.lib3rdparty.Base64Coder
Encodes a byte array into Base64 format.
encode(byte[], int, int) - Static method in class com.flyingspaniel.nava.lib3rdparty.Base64Coder
Encodes a byte array into Base64 format.
encode(Object) - Method in interface com.flyingspaniel.nava.net.URLEncoding
Encode the Object.
encode16to32(byte[]) - Method in class com.flyingspaniel.nava.net.JRFC2617
Represent the MD5 digest as Hex.
encodeKVs(String, Object...) - Method in interface com.flyingspaniel.nava.net.URLEncoding
Encodes into key=value1,value2...
encodeKVs(String, Object...) - Method in enum com.flyingspaniel.nava.net.URLEncoding.Impl
 
encodeLines(byte[]) - Static method in class com.flyingspaniel.nava.lib3rdparty.Base64Coder
Encodes a byte array into Base 64 format and breaks the output into lines of 76 characters.
encodeLines(byte[], int, int, int, String) - Static method in class com.flyingspaniel.nava.lib3rdparty.Base64Coder
Encodes a byte array into Base 64 format and breaks the output into lines.
encodeString(String) - Static method in class com.flyingspaniel.nava.lib3rdparty.Base64Coder
Encodes a string into Base64 format.
ENDPOINT - Static variable in class com.flyingspaniel.nava.net.aws.AWS
 
EQUALS - Static variable in interface com.flyingspaniel.nava.net.URLEncoding
 
errorCode() - Method in enum com.flyingspaniel.nava.request.Request.Milestone
Direct use of ordinal() is discouraged Use this method to get the error code in case things change in the future
every(Iterable<IN>, Fn<IN, ?>) - Static method in class com.flyingspaniel.nava.fp.FP
Check if every Object passes Fn (same as forAll())
exceptionCount - Variable in class com.flyingspaniel.nava.callback.CallbackExecutor
 
exists(Iterable<IN>, Fn<IN, ?>) - Static method in class com.flyingspaniel.nava.fp.FP
Check if any Object passes Fn (same as some() and Groovy's any())

F

failedURL - Variable in class com.flyingspaniel.nava.net.JRFC2617
 
failFast(Exception, IN, Object...) - Method in class com.flyingspaniel.nava.callback.AbstractCallback
Fail Fast means that you want this completedCallback to handle the exception
failFast(Exception, IN, Object...) - Method in class com.flyingspaniel.nava.utils.EmittingCallbackFn
failFast means handle any Exception immediately.
failSlow(Exception, IN, Object...) - Method in class com.flyingspaniel.nava.callback.AbstractCallback
Fail Slow means that you will pass the Exception down to (perhaps the end) of the chain This is handy if you have special Exception handling and can tack it on the end of all the callbacks.
failSlow(Exception, IN, Object...) - Method in class com.flyingspaniel.nava.utils.EmittingCallbackFn
failSlow means we let the nextCallback, if any, handle the Exception
filter(Iterable<IN>, Fn<IN, ?>) - Static method in class com.flyingspaniel.nava.fp.FP
Filter (keep) Objects accepted by Fn to a new ArrayList.
fireEvent(Object, A0, Object...) - Method in interface com.flyingspaniel.nava.emit.Emit.IEmitter
Same as emit, convenience method
fireEvent(Object, A0, Object...) - Method in class com.flyingspaniel.nava.emit.Emitter
 
Fn<IN,OUT> - Interface in com.flyingspaniel.nava.fp
Interfaces for functional programming The main interface, Fn, is genericized by an input IN and output OUT.
Fn.AndN<IN,OUT> - Interface in com.flyingspaniel.nava.fp
 
Fn.Base<IN,OUT> - Class in com.flyingspaniel.nava.fp
Base class that throws UnsupportedOperationExceptions for all methods.
Fn.Base() - Constructor for class com.flyingspaniel.nava.fp.Fn.Base
 
Fn.N<IN,OUT> - Interface in com.flyingspaniel.nava.fp
Optional additional interface if we can take an array / varargs
Fn.Pdouble - Interface in com.flyingspaniel.nava.fp
"Efficiency interface for dealing with primitive doubles
Fn.Pdouble.AndN - Interface in com.flyingspaniel.nava.fp
 
Fn.Pdouble.Base - Class in com.flyingspaniel.nava.fp
Base class that throws UnsupportedOperationExceptions for all methods.
Fn.Pdouble.Base() - Constructor for class com.flyingspaniel.nava.fp.Fn.Pdouble.Base
 
Fn.Pdouble.N - Interface in com.flyingspaniel.nava.fp
Optional additional interface if we can take an array / varargs
Fn.Pint - Interface in com.flyingspaniel.nava.fp
"Efficiency interface for dealing with primitive ints
Fn.Pint.AndN - Interface in com.flyingspaniel.nava.fp
 
Fn.Pint.Base - Class in com.flyingspaniel.nava.fp
Base class that throws UnsupportedOperationExceptions for all methods.
Fn.Pint.Base() - Constructor for class com.flyingspaniel.nava.fp.Fn.Pint.Base
 
Fn.Pint.N - Interface in com.flyingspaniel.nava.fp
Optional additional interface if we can take an array / varargs
fn1(IN) - Method in class com.flyingspaniel.nava.fp.Fn.Base
 
fn1(IN) - Method in interface com.flyingspaniel.nava.fp.Fn
Apply the function to a single argument
fn1(double) - Method in class com.flyingspaniel.nava.fp.Fn.Pdouble.Base
 
fn1(double) - Method in interface com.flyingspaniel.nava.fp.Fn.Pdouble
 
fn1(int) - Method in class com.flyingspaniel.nava.fp.Fn.Pint.Base
 
fn1(int) - Method in interface com.flyingspaniel.nava.fp.Fn.Pint
 
fn1(IN) - Method in class com.flyingspaniel.nava.utils.EmittingCallbackFn
 
fn2(IN, IN) - Method in class com.flyingspaniel.nava.fp.Fn.Base
 
fn2(IN, IN) - Method in interface com.flyingspaniel.nava.fp.Fn
Apply the function to a two arguments
fn2(double, double) - Method in class com.flyingspaniel.nava.fp.Fn.Pdouble.Base
 
fn2(double, double) - Method in interface com.flyingspaniel.nava.fp.Fn.Pdouble
 
fn2(int, int) - Method in class com.flyingspaniel.nava.fp.Fn.Pint.Base
 
fn2(int, int) - Method in interface com.flyingspaniel.nava.fp.Fn.Pint
 
fn2(IN, IN) - Method in class com.flyingspaniel.nava.utils.EmittingCallbackFn
 
fnN(IN...) - Method in class com.flyingspaniel.nava.fp.Fn.Base
 
fnN(IN...) - Method in interface com.flyingspaniel.nava.fp.Fn.N
 
fnN(double...) - Method in class com.flyingspaniel.nava.fp.Fn.Pdouble.Base
 
fnN(double...) - Method in interface com.flyingspaniel.nava.fp.Fn.Pdouble.N
 
fnN(int...) - Method in class com.flyingspaniel.nava.fp.Fn.Pint.Base
 
fnN(int...) - Method in interface com.flyingspaniel.nava.fp.Fn.Pint.N
 
Fns - Class in com.flyingspaniel.nava.fp
A bunch of implementations of basic Fns Mimics Scala's collection : min, max, sum, product Suffixes of "pdouble" or "pint" indicate that they deal with primitives
Fns() - Constructor for class com.flyingspaniel.nava.fp.Fns
 
fold(IN, Iterable<IN>, Fn<IN, IN>) - Static method in class com.flyingspaniel.nava.fp.FP
Fold objects using a generified Fn function
foldp(double, double[], Fn.Pdouble) - Static method in class com.flyingspaniel.nava.fp.FP
Fold doubles using a primitive double (Fn.Pdouble) function
foldp(int, int[], Fn.Pint) - Static method in class com.flyingspaniel.nava.fp.FP
Fold ints using a primitive int (Fn.Pint) function
foldRight(IN, List<IN>, Fn<IN, IN>) - Static method in class com.flyingspaniel.nava.fp.FP
FoldRight objects using a generified Fn function
foldRightp(double, double[], Fn.Pdouble) - Static method in class com.flyingspaniel.nava.fp.FP
FoldRight doubles using a primitive double (Fn.Pdouble) function
foldRightp(int, int[], Fn.Pint) - Static method in class com.flyingspaniel.nava.fp.FP
FoldRight ints using a primitive int (Fn.Pint) function
followsRedirects() - Method in enum com.flyingspaniel.nava.request.HTTPMethod
 
forAll(Iterable<IN>, Fn<IN, ?>) - Static method in class com.flyingspaniel.nava.fp.FP
Check if every Object passes Fn (same as every())
form(Object...) - Method in class com.flyingspaniel.nava.request.Request
Adds form data
form(Map<String, Object>) - Method in class com.flyingspaniel.nava.request.Request
Adds form data from a map
form(String) - Method in class com.flyingspaniel.nava.request.Request
Adds form data from a JSON String
FORM_DATA - Static variable in class com.flyingspaniel.nava.request.Request
 
formatHeaders(Map<String, List<String>>) - Static method in class com.flyingspaniel.nava.request.Response
Formats the HTTP headers nicely...
formDataMMap - Variable in class com.flyingspaniel.nava.request.Request
 
FP - Class in com.flyingspaniel.nava.fp
Static utilities for Functional Programming
FP() - Constructor for class com.flyingspaniel.nava.fp.FP
 
fullResponse - Variable in class com.flyingspaniel.nava.net.JRFC2617
 
fullURL() - Method in class com.flyingspaniel.nava.request.Request
Split off for testing, but a subclass may want to override

G

generateCanonicalQuery(Map<String, String>, String) - Method in class com.flyingspaniel.nava.net.aws.AWSSignedRequestsHelper
 
get(Map<String, ?>, String, boolean) - Static method in class com.flyingspaniel.nava.hash.Hash
Get the value for that key (mainly used internally)
getBody() - Method in class com.flyingspaniel.nava.request.Response
The response data (generally taken from HttpURLConnection.getInputStream())
getBoolean(Map<String, ?>, String, boolean...) - Static method in class com.flyingspaniel.nava.hash.Hash
Return the value for that key, converted to a boolean
getBoolean(String, boolean...) - Method in interface com.flyingspaniel.nava.hash.HashWrapper
 
getBoolean(String, boolean...) - Method in class com.flyingspaniel.nava.hash.HashWrapper.Linked
 
getCause(ExecutionException) - Static method in class com.flyingspaniel.nava.callback.Callbacks
Utility to get the cause from an ExecutionException as an Exception, not a Throwable
getChallenge(JRFC2617.Key) - Method in class com.flyingspaniel.nava.net.JRFC2617
 
getContentType() - Method in class com.flyingspaniel.nava.request.Response
Content-Type
getDouble(Map<String, ?>, String, double...) - Static method in class com.flyingspaniel.nava.hash.Hash
Return the value for that key, converted to a double
getDouble(String, double...) - Method in interface com.flyingspaniel.nava.hash.HashWrapper
 
getDouble(String, double...) - Method in class com.flyingspaniel.nava.hash.HashWrapper.Linked
 
getEncoding() - Method in class com.flyingspaniel.nava.request.Request
 
getException() - Method in exception com.flyingspaniel.nava.callback.CallbackAnd.Xception
Convenience, returns the wrapped Throwable as an Exception
getHeaderFields() - Method in class com.flyingspaniel.nava.request.Response
Return the Headers from the response
getHeaderString(String, URLEncoding) - Method in class com.flyingspaniel.nava.request.HTTPMultiMap
Get the String representing value(s) for a single field Formatted as for a Header, with multiple values comma separated, e.g field=val1,val2
getInstance(boolean, boolean) - Static method in enum com.flyingspaniel.nava.net.URLEncoding.Impl
Utility to obtain the correct encoder
getInt(Map<String, ?>, String, int...) - Static method in class com.flyingspaniel.nava.hash.Hash
Return the value for that key, converted to a int
getInt(String, int...) - Method in interface com.flyingspaniel.nava.hash.HashWrapper
 
getInt(String, int...) - Method in class com.flyingspaniel.nava.hash.HashWrapper.Linked
 
getIOException() - Method in class com.flyingspaniel.nava.request.Response
If there was an IOException, return it here
getKey() - Method in class com.flyingspaniel.nava.utils.Android2Lacks.ImmutableMapEntry
 
getKey() - Method in class com.flyingspaniel.nava.utils.Android2Lacks.MutableMapEntry
 
getList(Map<String, Object>, String, boolean) - Static method in class com.flyingspaniel.nava.hash.Hash
Return the value for that key, converted to a List (e.g.
getList(String, boolean) - Method in interface com.flyingspaniel.nava.hash.HashWrapper
 
getList(String, boolean) - Method in class com.flyingspaniel.nava.hash.HashWrapper.Linked
 
getListenerList(Object, boolean) - Method in class com.flyingspaniel.nava.emit.Emitter
Get the ListenerList for the given eventID
getMap(Map<String, Object>, String, boolean) - Static method in class com.flyingspaniel.nava.hash.Hash
Return the value for that key, converted to a Map (e.g.
getMap(String, boolean) - Method in interface com.flyingspaniel.nava.hash.HashWrapper
 
getMap(String, boolean) - Method in class com.flyingspaniel.nava.hash.HashWrapper.Linked
 
getMap() - Method in class com.flyingspaniel.nava.request.HTTPMultiMap
direct access to the underlying map for advanced operations should not be needed, use with caution
getMethodName() - Method in enum com.flyingspaniel.nava.request.HTTPMethod
Use this instead of name(), so if the names happen to change (unlikely!) we can fix it here
getMore() - Method in interface com.flyingspaniel.nava.callback.Callback.ProducesMore
 
getMore(Callback) - Static method in class com.flyingspaniel.nava.callback.Callbacks
Utility to get the more results (or an empty []) from a callback
getMultiple() - Method in interface com.flyingspaniel.nava.callback.Callback.ProducesMultiple
 
getNextCallback() - Method in class com.flyingspaniel.nava.callback.AbstractCallback
 
getNextCallback() - Method in interface com.flyingspaniel.nava.callback.Callback
Get the callback to follow this one.
getNextCallback() - Method in class com.flyingspaniel.nava.utils.EmittingCallbackFn
 
getObject(Map<String, ?>, String, Object) - Static method in class com.flyingspaniel.nava.hash.Hash
Return an Object from the map
getObject(String, Object) - Method in interface com.flyingspaniel.nava.hash.HashWrapper
 
getObject(String, Object) - Method in class com.flyingspaniel.nava.hash.HashWrapper.Linked
 
getRedirect() - Method in class com.flyingspaniel.nava.request.Response
 
getRequest() - Method in class com.flyingspaniel.nava.request.Response
Get the request that triggered this response.
getResponseCode() - Method in class com.flyingspaniel.nava.request.Response
Returns the positive HTTP status code, or else one of Request.Milestone.gerErrorCode() (which are negative)
getResponseMessage() - Method in class com.flyingspaniel.nava.request.Response
Message corresponding to the HTTP status code, or else the message from the IOException
getString(Map<String, ?>, String, String...) - Static method in class com.flyingspaniel.nava.hash.Hash
Return the value for that key, converted to a String
getString(Map<String, ?>, String) - Static method in class com.flyingspaniel.nava.hash.Hash
 
getString(String) - Method in interface com.flyingspaniel.nava.hash.HashWrapper
 
getString(String, String...) - Method in interface com.flyingspaniel.nava.hash.HashWrapper
 
getString(String) - Method in class com.flyingspaniel.nava.hash.HashWrapper.Linked
 
getString(String, String...) - Method in class com.flyingspaniel.nava.hash.HashWrapper.Linked
 
getURL() - Method in class com.flyingspaniel.nava.request.Response
The URL we talked to
getValue() - Method in class com.flyingspaniel.nava.utils.Android2Lacks.ImmutableMapEntry
 
getValue() - Method in class com.flyingspaniel.nava.utils.Android2Lacks.MutableMapEntry
 

H

handleEvent(IN, Object...) - Method in class com.flyingspaniel.nava.callback.AbstractCallback
 
handleEvent(A0, Object...) - Method in interface com.flyingspaniel.nava.emit.Emit.IListener
Receive and handle an "event", represented by arg0 and possibly more.
handleEvent(IN, Object...) - Method in class com.flyingspaniel.nava.utils.EmittingCallbackFn
 
handleException(Exception, IN, Object...) - Method in class com.flyingspaniel.nava.callback.AbstractCallback
Override this if you want to do something to try to recover
handleException(Exception, IN, Object...) - Method in class com.flyingspaniel.nava.utils.EmittingCallbackFn
Subclasses may want to override to log, etc...
handleNormalCallbackException(Exception) - Method in class com.flyingspaniel.nava.callback.CallbackExecutor
Handle a normal callback exception.
handlerExecutorService - Variable in class com.flyingspaniel.nava.callback.CallbackExecutor
 
Hash - Class in com.flyingspaniel.nava.hash
 
Hash() - Constructor for class com.flyingspaniel.nava.hash.Hash
 
Hash.NoSuchKeyException - Exception in com.flyingspaniel.nava.hash
 
Hash.NoSuchKeyException(String) - Constructor for exception com.flyingspaniel.nava.hash.Hash.NoSuchKeyException
 
HashWrapper - Interface in com.flyingspaniel.nava.hash
 
HashWrapper.Linked - Class in com.flyingspaniel.nava.hash
 
HashWrapper.Linked() - Constructor for class com.flyingspaniel.nava.hash.HashWrapper.Linked
 
HashWrapper.Linked(Map<String, ?>) - Constructor for class com.flyingspaniel.nava.hash.HashWrapper.Linked
 
HEADER_DATA - Static variable in class com.flyingspaniel.nava.request.Request
 
headerFields - Variable in class com.flyingspaniel.nava.request.Response
 
headers(Object...) - Method in class com.flyingspaniel.nava.request.Request
Adds header data
headers(Map<String, Object>) - Method in class com.flyingspaniel.nava.request.Request
Adds header data from a Map
headers(String) - Method in class com.flyingspaniel.nava.request.Request
Adds header data from a JSON String
headersMMap - Variable in class com.flyingspaniel.nava.request.Request
 
HTTPMethod - Enum in com.flyingspaniel.nava.request
Enums representing the main HTTP Methods
HTTPMultiMap - Class in com.flyingspaniel.nava.request
HTTP uses multimaps for both query parameters and headers (a.k.a.
HTTPMultiMap(boolean, Map<String, List<String>>) - Constructor for class com.flyingspaniel.nava.request.HTTPMultiMap
Detailed constructor
HTTPMultiMap() - Constructor for class com.flyingspaniel.nava.request.HTTPMultiMap
Default (most common) constructor - results are not sorted...

I

idMap - Variable in class com.flyingspaniel.nava.emit.Emitter
 
indexOf(Object, Object...) - Static method in class com.flyingspaniel.nava.fp.FP
Find index of grail in array, usually using equals()
indexOfByRef(Object, Object...) - Static method in class com.flyingspaniel.nava.fp.FP
FInd index of grail in array, using ==
intFrom(Object) - Static method in class com.flyingspaniel.nava.hash.To
 
intOr(Object, int) - Static method in class com.flyingspaniel.nava.hash.To
 
ioException - Variable in class com.flyingspaniel.nava.request.Response
 
IOException(String, Throwable) - Static method in class com.flyingspaniel.nava.utils.Android2Lacks
Android 2.2 lacks a chainable IOException with message AND cause
isFalse(Object) - Static method in class com.flyingspaniel.nava.fp.FP
For a filter function (filterFn in formal arguments above) converts their output to true/false
isFalsy(Object) - Static method in class com.flyingspaniel.nava.hash.To
JavaScript style "false"
isQuoted - Variable in enum com.flyingspaniel.nava.net.JRFC2617.Key
 
isTrue(Object) - Static method in class com.flyingspaniel.nava.fp.FP
For a filter function (filterFn in formal arguments above) converts their output to true/false
isTruthy(Object) - Static method in class com.flyingspaniel.nava.hash.To
 

J

join(String, Iterable) - Static method in class com.flyingspaniel.nava.fp.FP
Join Objects into a String.
join(Iterable) - Static method in class com.flyingspaniel.nava.fp.FP
Default uses comma delim
join(Object...) - Static method in class com.flyingspaniel.nava.fp.FP
 
JRFC2617 - Class in com.flyingspaniel.nava.net
Java Class for doing RFC 2617 Digest Authentication.
JRFC2617(String) - Constructor for class com.flyingspaniel.nava.net.JRFC2617
Constructor
JRFC2617(HttpURLConnection) - Constructor for class com.flyingspaniel.nava.net.JRFC2617
Alternative Constructor
JRFC2617.Key - Enum in com.flyingspaniel.nava.net
 
JSONtoMap(String) - Method in class com.flyingspaniel.nava.request.Request
Converts JSON String to a Map.

L

lastResultOrException - Variable in class com.flyingspaniel.nava.callback.CallbackExecutor
 
listenerCount(Object) - Method in interface com.flyingspaniel.nava.emit.Emit.IEmitter
Counts all listeners for a given event (same as listeners(eventID).size())
listenerCount() - Method in interface com.flyingspaniel.nava.emit.Emit.IListenerList
 
listenerCount(Emit.IEmitter, Object) - Static method in class com.flyingspaniel.nava.emit.Emit
To mimic node.js EventEmitter, this is static.
listenerCount() - Method in class com.flyingspaniel.nava.emit.EmitListenerList
Current number of listeners
listenerCount(Object) - Method in class com.flyingspaniel.nava.emit.Emitter
 
listeners(Object) - Method in interface com.flyingspaniel.nava.emit.Emit.IEmitter
Return a shallow copy of listeners for a given eventID
listeners() - Method in interface com.flyingspaniel.nava.emit.Emit.IListenerList
 
listeners - Variable in class com.flyingspaniel.nava.emit.EmitListenerList
 
listeners() - Method in class com.flyingspaniel.nava.emit.EmitListenerList
Returns the raw listeners, use with extreme caution
listeners(Object) - Method in class com.flyingspaniel.nava.emit.Emitter
Return a shallow copy of listeners for a given eventID

M

map(Iterable<IN>, Fn<IN, OUT>) - Static method in class com.flyingspaniel.nava.fp.FP
Map all Objects to a new List, transforming them via Fn
map - Variable in class com.flyingspaniel.nava.request.HTTPMultiMap
 
MAX - Static variable in class com.flyingspaniel.nava.fp.Fns
 
maxListeners - Variable in class com.flyingspaniel.nava.emit.Emitter
 
MAXpdouble - Static variable in class com.flyingspaniel.nava.fp.Fns
 
MAXpint - Static variable in class com.flyingspaniel.nava.fp.Fns
 
maxRetries - Variable in class com.flyingspaniel.nava.request.Request
 
MD5(String...) - Method in class com.flyingspaniel.nava.net.JRFC2617
Makes the MD5 of arg[0]:arg[1]:arg[2]...
messageDigest - Variable in class com.flyingspaniel.nava.net.JRFC2617
 
method - Static variable in enum com.flyingspaniel.nava.net.JRFC2617.Key
 
method - Variable in class com.flyingspaniel.nava.request.Request
 
method(HTTPMethod) - Method in class com.flyingspaniel.nava.request.Request
 
methodMustUpload - Variable in class com.flyingspaniel.nava.request.Request
 
MIN - Static variable in class com.flyingspaniel.nava.fp.Fns
 
MINpdouble - Static variable in class com.flyingspaniel.nava.fp.Fns
 
MINpint - Static variable in class com.flyingspaniel.nava.fp.Fns
 

N

NEW_LISTENER - Static variable in class com.flyingspaniel.nava.emit.Emit
 
newList() - Method in class com.flyingspaniel.nava.request.HTTPMultiMap
 
nextCallback - Variable in class com.flyingspaniel.nava.callback.AbstractCallback
 
nextCallback - Variable in class com.flyingspaniel.nava.utils.EmittingCallbackFn
 
NO_MORE - Static variable in class com.flyingspaniel.nava.emit.Emit
 
nonceCount - Variable in class com.flyingspaniel.nava.net.JRFC2617
 
noteMilestone(Request.Milestone) - Method in class com.flyingspaniel.nava.request.Request
Subclasses who wish to log or send progress can override this
nullOrEmpty(T[]) - Static method in class com.flyingspaniel.nava.utils.Utils
 
nullOrEmpty(String) - Static method in class com.flyingspaniel.nava.utils.Utils
 

O

oauth(String) - Method in class com.flyingspaniel.nava.request.Request
 
objectOr(Object, Object...) - Static method in class com.flyingspaniel.nava.hash.To
Special case, picks the first non-null Object
objectToStringForUpload(Object) - Method in class com.flyingspaniel.nava.request.Request
Converts Object to a String for uploading Subclasses might want to override and do JSON, XML, etc...
on(Object, Emit.IListener<A0>) - Method in interface com.flyingspaniel.nava.emit.Emit.IEmitter
Syntactic sugar, same as addListener()
on(Emit.IListener<A0>) - Method in interface com.flyingspaniel.nava.emit.Emit.IListenerList
 
on(Emit.IListener<A0>) - Method in class com.flyingspaniel.nava.emit.EmitListenerList
Add a listener
on(Object, Emit.IListener<A0>) - Method in class com.flyingspaniel.nava.emit.Emitter
Add a listener for the specific eventID
once(Object, Emit.IListener<A0>) - Method in interface com.flyingspaniel.nava.emit.Emit.IEmitter
Add a listener that will only receive one event, then get disconnected
once(Emit.IListener<A0>) - Method in interface com.flyingspaniel.nava.emit.Emit.IListenerList
 
once(Emit.IListener<A0>) - Method in class com.flyingspaniel.nava.emit.EmitListenerList
Add a listener that will be triggered only once
once(Object, Emit.IListener<A0>) - Method in class com.flyingspaniel.nava.emit.Emitter
Add a one-time listener for the specific eventID
onces - Variable in class com.flyingspaniel.nava.emit.EmitListenerList
 
openConnection() - Method in class com.flyingspaniel.nava.request.Request
Split off for testing, but a subclass may want to override
options - Variable in class com.flyingspaniel.nava.request.Request
 
options(Map<String, Object>) - Method in class com.flyingspaniel.nava.request.Request
Set all options from a Map.
options(String) - Method in class com.flyingspaniel.nava.request.Request
Set all options based on a JSON String

P

pipe(InputStream) - Method in class com.flyingspaniel.nava.request.Request
Sets an input stream for uploading data
pipe(OutputStream) - Method in class com.flyingspaniel.nava.request.Request
Sets an outputstream for downloading
pipeIn - Variable in class com.flyingspaniel.nava.request.Request
 
pipeOut - Variable in class com.flyingspaniel.nava.request.Request
 
pipeTo - Variable in class com.flyingspaniel.nava.request.Request
 
prepareConnection(HttpURLConnection) - Method in class com.flyingspaniel.nava.request.Request
 
PRODUCT - Static variable in class com.flyingspaniel.nava.fp.Fns
 
PRODUCTpdouble - Static variable in class com.flyingspaniel.nava.fp.Fns
 
PRODUCTpint - Static variable in class com.flyingspaniel.nava.fp.Fns
 

Q

query(Object...) - Method in class com.flyingspaniel.nava.request.Request
Adds field value pairs to the query
query(Map<String, Object>) - Method in class com.flyingspaniel.nava.request.Request
 
query(String) - Method in class com.flyingspaniel.nava.request.Request
Adds query data from a JSON String
QUERY_DATA - Static variable in class com.flyingspaniel.nava.request.Request
 
queryMMap - Variable in class com.flyingspaniel.nava.request.Request
Three possible multimaps used for the query, header, and formData
querySeparator - Variable in class com.flyingspaniel.nava.request.HTTPMultiMap
alternative is ';', @see http://www.w3.org/TR/1999/REC-html401-19991224/appendix/notes.html#h-B.2.2
queryStringToMap(URLEncoding, String) - Static method in class com.flyingspaniel.nava.net.aws.AWSSignedRequestsHelper
Converts a query string to a (sorted) Map

R

random - Variable in class com.flyingspaniel.nava.net.JRFC2617
 
reduce(Iterable<IN>, Fn<IN, IN>) - Static method in class com.flyingspaniel.nava.fp.FP
Reduce Objects using a generified Fn function
reducep(double[], Fn.Pdouble) - Static method in class com.flyingspaniel.nava.fp.FP
Reduce doubles using a primitive double (Fn.Pdouble) function
reducep(int[], Fn.Pint) - Static method in class com.flyingspaniel.nava.fp.FP
Reduce ints using a primitive int (Fn.Pint) function
remove(String) - Method in class com.flyingspaniel.nava.request.HTTPMultiMap
remove an entire field from the map
remove(String, String) - Method in class com.flyingspaniel.nava.request.HTTPMultiMap
remove a single field/value from the map.
REMOVE_LISTENER - Static variable in class com.flyingspaniel.nava.emit.Emit
 
removeAllListeners(Object) - Method in interface com.flyingspaniel.nava.emit.Emit.IEmitter
Remove all listeners for the specified eventID
removeAllListeners() - Method in interface com.flyingspaniel.nava.emit.Emit.IListenerList
 
removeAllListeners() - Method in class com.flyingspaniel.nava.emit.EmitListenerList
Remove all listeners
removeAllListeners(Object) - Method in class com.flyingspaniel.nava.emit.Emitter
Remove all listeners for the specified eventID
removeListener(Object, Emit.IListener<A0>) - Method in interface com.flyingspaniel.nava.emit.Emit.IEmitter
Remove a listener for the specific eventID
removeListener(Emit.IListener<A0>) - Method in interface com.flyingspaniel.nava.emit.Emit.IListenerList
 
removeListener(Emit.IListener<A0>) - Method in class com.flyingspaniel.nava.emit.EmitListenerList
Remove the listener, from onces and listeners
removeListener(Object, Emit.IListener<A0>) - Method in class com.flyingspaniel.nava.emit.Emitter
Removes the listener for the eventID.
Request - Class in com.flyingspaniel.nava.request
 
Request(String, HTTPMethod, Map<String, Object>) - Constructor for class com.flyingspaniel.nava.request.Request
Full constructor
Request(String, HTTPMethod) - Constructor for class com.flyingspaniel.nava.request.Request
 
Request(String, Map<String, Object>) - Constructor for class com.flyingspaniel.nava.request.Request
 
Request(String) - Constructor for class com.flyingspaniel.nava.request.Request
 
Request() - Constructor for class com.flyingspaniel.nava.request.Request
 
request - Variable in class com.flyingspaniel.nava.request.Response
 
Request.Milestone - Enum in com.flyingspaniel.nava.request
Enum for the steps in the HTTPRequest.call() method, used for error-tracking...
REQUEST_URI - Static variable in class com.flyingspaniel.nava.net.aws.AWS
 
Response - Class in com.flyingspaniel.nava.request
 
Response(Request, HttpURLConnection, Object) - Constructor for class com.flyingspaniel.nava.request.Response
Constructor for a success Reads various fields from the HttpURLConnection
Response(Request, HttpURLConnection, IOException, int) - Constructor for class com.flyingspaniel.nava.request.Response
Constructor when there was an IOException
response401 - Variable in class com.flyingspaniel.nava.request.Request
 
responseCode - Variable in class com.flyingspaniel.nava.request.Response
 
responseGroup() - Method in class com.flyingspaniel.nava.request.Response
Which "hundreds" the response was in, e.g.
responseMessage - Variable in class com.flyingspaniel.nava.request.Response
 
RFC3986_CHANGES - Static variable in interface com.flyingspaniel.nava.net.URLEncoding
 
run() - Method in class com.flyingspaniel.nava.callback.CallbackExecutor
 
runASyncInLine(ExecutorService, Callback, Object, Object...) - Static method in class com.flyingspaniel.nava.callback.Callbacks
Runs a completedCallback (and any associated chain) using an ExecutorService However, since we wait for the Futures "in line" here, no real speed gain (see runASyncInLine)
runSync(Callback, Object, Object...) - Static method in class com.flyingspaniel.nava.callback.Callbacks
Runs a callback (and any associated chain) synchronously

S

setDate(Date) - Method in class com.flyingspaniel.nava.net.aws.AWSSignedRequestsHelper
Use with extreme caution, mainly for unit tests
setFieldValuePairs(Object...) - Method in class com.flyingspaniel.nava.request.HTTPMultiMap
Sets the field=value pairs, removing all previous values
setForm(Object...) - Method in class com.flyingspaniel.nava.request.Request
Sets form data, replacing any previous data for th field
setHeaders(Object...) - Method in class com.flyingspaniel.nava.request.Request
Replaces all previous header data for the given key value pairs
setMaxListeners(int) - Method in interface com.flyingspaniel.nava.emit.Emit.IEmitter
Sets the maximum listeners for each eventID.
setMaxListeners(int) - Method in class com.flyingspaniel.nava.emit.Emitter
 
setNextCallback(Callback) - Method in class com.flyingspaniel.nava.callback.AbstractCallback
 
setNextCallback(Callback) - Method in interface com.flyingspaniel.nava.callback.Callback
Set the callback to follow this one.
setNextCallback(Callback) - Method in class com.flyingspaniel.nava.utils.EmittingCallbackFn
 
setQuery(Object...) - Method in class com.flyingspaniel.nava.request.Request
Replaces all previous query data for the given key value pairs
setValue(V) - Method in class com.flyingspaniel.nava.utils.Android2Lacks.ImmutableMapEntry
 
setValue(V) - Method in class com.flyingspaniel.nava.utils.Android2Lacks.MutableMapEntry
 
shutdown(long) - Method in class com.flyingspaniel.nava.callback.CallbackExecutor
Mainly for unit tests, but performs an orderly shutdown
sign(Map<String, String>, String, String, String, String) - Method in class com.flyingspaniel.nava.net.aws.AWSSignedRequestsHelper
Signs a request
sign(Map<String, String>, String, String) - Method in class com.flyingspaniel.nava.net.aws.AWSSignedRequestsHelper
Sign using the default AWS.ENDPOINT, AWS.REQUEST_URI
smellsLikeJSON(String) - Static method in class com.flyingspaniel.nava.utils.Utils
 
some(Iterable<IN>, Fn<IN, ?>) - Static method in class com.flyingspaniel.nava.fp.FP
Check if any Object passes Fn (same as exists())
stale - Static variable in enum com.flyingspaniel.nava.net.JRFC2617.Key
 
string(Object) - Static method in class com.flyingspaniel.nava.hash.To
 
stringOr(Object, String) - Static method in class com.flyingspaniel.nava.hash.To
 
stringsFrom(Collection<?>, String) - Static method in class com.flyingspaniel.nava.hash.To
Converts a Collection of any object to a String[]
stripLeadingAmpOrQuestion(String) - Static method in class com.flyingspaniel.nava.request.HTTPMultiMap
Removes a leading ampersand or question mark from a String
submitCallback(Callback, Object, Object...) - Method in class com.flyingspaniel.nava.callback.CallbackExecutor
Submit a callback (generally the first of a chain)
submitMultiple(CallbackAnd.Output) - Method in class com.flyingspaniel.nava.callback.CallbackExecutor
 
SUM - Static variable in class com.flyingspaniel.nava.fp.Fns
 
SUMpdouble - Static variable in class com.flyingspaniel.nava.fp.Fns
 
SUMpint - Static variable in class com.flyingspaniel.nava.fp.Fns
 

T

throwIOException() - Method in class com.flyingspaniel.nava.request.Response
If you like to throw the IOException
timestamp() - Method in class com.flyingspaniel.nava.net.aws.AWSSignedRequestsHelper
 
To - Class in com.flyingspaniel.nava.hash
Utilities for converting "To" other formats, with some JavaScript conventions.
toQueryString(URLEncoding) - Method in class com.flyingspaniel.nava.request.HTTPMultiMap
Creates a String representing queries for all the fields.
toSingleMap(boolean, boolean) - Method in class com.flyingspaniel.nava.request.HTTPMultiMap
Tries to convert this to a "single map" (Map)
toString() - Method in class com.flyingspaniel.nava.request.HTTPMultiMap
 
toString() - Method in class com.flyingspaniel.nava.request.Response
Nicely formatted summary of the response...
toStringNullsBecome(Object, String) - Static method in enum com.flyingspaniel.nava.net.URLEncoding.Impl
Like @link String.valueOf(Object) but you get to pick the result for nulls
trimmedString(Object) - Static method in class com.flyingspaniel.nava.hash.To
 

U

unq(String) - Method in class com.flyingspaniel.nava.net.JRFC2617
Unquote a String, removing leading and trailing "
upload(Object) - Method in class com.flyingspaniel.nava.request.Request
Sets data to be uploaded: a File or InputStream, a Map which will get converted to JSON or anything else will be sent as a String
uploadMe - Variable in class com.flyingspaniel.nava.request.Request
 
uploadSubstitution(boolean) - Method in class com.flyingspaniel.nava.request.Request
If uploadSubstitution is activated, text like ${FORM_DATA} in the upload data will be replaced with values from the FORM
url - Variable in class com.flyingspaniel.nava.request.Response
 
URLEncoding - Interface in com.flyingspaniel.nava.net
Interface for URL Encoding
URLEncoding.Impl - Enum in com.flyingspaniel.nava.net
Enum holding three implementations of URLEncoding
URLPreface(String, String) - Static method in class com.flyingspaniel.nava.net.aws.AWS
 
useSemicolonQuerySeparator(boolean) - Method in class com.flyingspaniel.nava.request.HTTPMultiMap
Switches to semicolon instead of ampersand
useStrictRFC3986 - Variable in class com.flyingspaniel.nava.request.Request
 
useStrictRFC3986(boolean) - Method in class com.flyingspaniel.nava.request.Request
 
UTF8_CHARSET - Static variable in interface com.flyingspaniel.nava.net.URLEncoding
 
Utils - Class in com.flyingspaniel.nava.utils
 
Utils() - Constructor for class com.flyingspaniel.nava.utils.Utils
 

V

valueOf(String) - Static method in enum com.flyingspaniel.nava.net.aws.AWS.Key
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.flyingspaniel.nava.net.JRFC2617.Key
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.flyingspaniel.nava.net.URLEncoding.Impl
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.flyingspaniel.nava.request.HTTPMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.flyingspaniel.nava.request.Request.Milestone
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.flyingspaniel.nava.net.aws.AWS.Key
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.flyingspaniel.nava.net.JRFC2617.Key
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.flyingspaniel.nava.net.URLEncoding.Impl
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.flyingspaniel.nava.request.HTTPMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.flyingspaniel.nava.request.Request.Milestone
Returns an array containing the constants of this enum type, in the order they are declared.

W

wasSuccessful() - Method in class com.flyingspaniel.nava.request.Response
 
A B C D E F G H I J L M N O P Q R S T U V W