JavaScript is disabled on your browser.
Overview
Package
Class
Deprecated
Index
Help
Frames
No Frames
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
A
AbstractSession
- Class in
fi.linuxbox.upcloud.core
@param
Type parameter T is the return type of the {@link #request(Map<?
accept(Resource, Throwable)
- Method in
RequestCallback
Chooses the callback and calls it.
asType(Class)
- Method in
Resource
Converts this resource to a Map
representation for JSON generation.
asUnmodifiableMap()
- Method in
SessionCallbacks
Returns an unmodifiable copy of the current map of callbacks.
B
C
callback(Map<?, Closure<Void>>)
- Method in
Session
Set or clear session callbacks.
callback(Map<?, Closure<Void>>)
- Method in
SessionCallbacks
Set or clear session callbacks.
CallbackChecks
- Class in
fi.linuxbox.upcloud.core.callback
A helper class for checking callbacks.
D
DELETE(String, Map<?, Closure<Void>>, Closure<Void>)
- Method in
AbstractSession
Calls
DELETE
with given arguments in correct order.
E
F
G
GET(String, Map<?, Closure<Void>>, Closure<Void>)
- Method in
AbstractSession
Calls
GET
with given arguments in correct order.
getAt(String)
- Method in
SimpleHeaders
getHTTP()
- Method in
Resource
getName()
- Method in
SimpleHeader
getValue()
- Method in
SimpleHeader
H
hasNext()
- Method in
SimpleHeaderIterator
I
instantiateResourceClass(String, Map)
- Method in
ResourceLoader
internalize(Map<?, Closure<Void>>)
- Method in
CallbackChecks
Cleans up and checks the map for internal use.
internalizeCallback(String, Closure<Void>)
- Method in
CallbackChecks
iterator()
- Method in
SimpleHeader
iterator()
- Method in
SimpleHeaders
J
K
L
loadResourceClass(String)
- Method in
ResourceLoader
Returns a Class corresponding to the named resource.
M
methodMissing(String, def)
- Method in
Resource
MOP method that allows resource properties to be set in a fluent fashion.
N
next()
- Method in
SimpleHeaderIterator
O
P
POST(String, Resource, Map<?, Closure<Void>>, Closure<Void>)
- Method in
AbstractSession
Calls
POST
with given arguments in correct order.
proj(List<String>)
- Method in
Resource
Returns a projection of this resource.
propertyMissing(String, def)
- Method in
Resource
MOP method that allows resource properties to be set.
PUT(String, Resource, Map<?, Closure<Void>>, Closure<Void>)
- Method in
AbstractSession
Calls
PUT
with given arguments in correct order.
Q
R
request(Map<?, Closure<Void>>, String, String, Resource, Closure<Void>)
- Method in
AbstractSession
Perform a HTTP request.
request(Map<?, Closure<Void>>, String, String, Resource, Closure<Void>)
- Method in
Session
Perform a HTTP request.
RequestCallback
- Class in
fi.linuxbox.upcloud.core.callback
A helper class for unmodifiable set of callbacks, and a way to call one of them based on HTTP response status code.
RequestCallback(SessionCallbacks, Map<?, Closure<Void>>, Closure<Void>)
- Constructor in
RequestCallback
Constructor.
requestHeaders(String, String, String)
- Method in
UpCloudContract
Construct request headers for a session.
Resource
- Class in
fi.linuxbox.upcloud.core
Model for a resource in UpCloud, e.g. server, storage device, IP address, etc.
Resource(Map)
- Constructor in
Resource
Designated, and only, constructor.
ResourceLoader
- Class in
fi.linuxbox.upcloud.core
S
Session
- Class in
fi.linuxbox.upcloud.core
The API for all the things managed in UpCloud.
Session(HTTP, JSON, String, String)
- Constructor in
Session
Injectable constructor.
SessionCallbacks
- Class in
fi.linuxbox.upcloud.core.callback
A helper class for a mutable map of callbacks.
SimpleHeader
- Class in
fi.linuxbox.upcloud.core.http.simple
A simple header.
SimpleHeader(Entry<String, String>)
- Constructor in
SimpleHeader
SimpleHeaderIterator
- Class in
fi.linuxbox.upcloud.core.http.simple
Iterator over simple headers.
SimpleHeaderIterator(Entry<String, String>>)
- Constructor in
SimpleHeaderIterator
SimpleHeaders
- Class in
fi.linuxbox.upcloud.core.http.simple
A simple header collection.
SimpleHeaders(Map<String, String>)
- Constructor in
SimpleHeaders
T
toString()
- Method in
Resource
Returns a string representation of the UpCloud resource.
U
UpCloudContract
- Class in
fi.linuxbox.upcloud.core
UpCloud API constants.
V
W
wrapper()
- Method in
Resource
Returns this resource wrapped in another resource.
X
Y
Z
_
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
Overview
Package
Class
Deprecated
Index
Help
Frames
No Frames
Groovy Documentation