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

after() - Method in WSInterceptor
Executed after the action executes but prior to view rendering
afterView() - Method in WSInterceptor
Executed after view rendering completes
AlaWsPluginConfig - Class in au.org.ala.ws.config
AlaWsPluginGrailsPlugin - Class in au.org.ala.ws
Application - Class in au.org.ala.ws

B

badRequest - Field in BasicWSController
BasicWSController - Class in au.org.ala.ws.controller
BeanValidationAST - Class in au.org.ala.ws.ast
before() - Method in WSInterceptor
Executed before a matched action
BootStrap - Class in au.org.ala.ws

C

D

decodeJSON(HttpResponse) - Method in WebService
Decode an Apache HTTP Response as JSON using the Grails JSON support
delete(String, Map, ContentType, boolean, boolean, Map) - Method in WebService
Sends a HTTP DELETE request to the specified URL.

E

enc(String) - Method in WebService
encodeJSON(Object, Object) - Method in WebService
Use Grails JSON to encode an object as JSON.
executeTokenRequest(TokenRequest) - Method in TokenClient

F

G

get(String, Map, ContentType, boolean, boolean, Map) - Method in WebService
Sends an HTTP GET request to the specified URL.
getAuthToken(boolean) - Method in TokenService
Get an access token.
getProfileManager() - Method in TokenService
groups() - Method in UUID
@default ]

H

handleWSResponse(Map) - Method in BasicWSController
Renders the WS response structure (see ala.org.au.ws.service.WebService) as JSON, or sends a HTTP error if resp.status is not in the 2xx range.

I

includeAuthTokens(Boolean, Boolean, UserDetails, URLConnection) - Method in WebService
includeAuthTokensJwt(def, def, def, def) - Method in WebService
includeAuthTokensLegacy(def, def, def, def) - Method in WebService
initialize(UUID) - Method in UUIDValidator
intercept(Chain) - Method in TokenInterceptor
isSuccessful(int) - Method in BasicWSController
Returns true for HTTP status codes from 200 to 299
isValid(String, ConstraintValidatorContext) - Method in UUIDValidator

J

jwtInterceptor(TokenService) - Method in AlaWsPluginConfig
OK HTTP Interceptor that injects a client credentials Bearer token into a request @return

K

L

M

main(String) - Method in Application
message() - Method in UUID
@default '{au.org.ala.ws.validation.constraints.message}'

N

newHttpBuilder(String, ContentType) - Method in WebService
notAuthorised - Field in BasicWSController
notFound - Field in BasicWSController

O

P

paramName() - Method in ValidatedParameter
paramType() - Method in ValidatedParameter
payload() - Method in UUID
@default ]
post(String, Map, Map, ContentType, boolean, boolean, Map) - Method in WebService
Sends an HTTP POST request to the specified URL.
postMultipart(String, Map, Map, List, ContentType, boolean, boolean, Map) - Method in WebService
Sends a multipart HTTP POST request to the specified URL.
proxyGetRequest(HttpServletResponse, String, boolean, boolean) - Method in WebService
Proxies a request URL but doesn't assume the response is text based.
proxyPostRequest(HttpServletResponse, String, def, ContentType, boolean, boolean, Map) - Method in WebService
Proxies a request URL with post data but doesn't assume the response is text based.
put(String, Map, Map, ContentType, boolean, boolean, Map) - Method in WebService
Sends an HTTP PUT request to the specified URL.

Q

R

S

saveFailed - Field in BasicWSController
sendError - Field in BasicWSController
success - Field in BasicWSController
Renders the provided Map as a JSON response with status code 200

T

TokenClient - Class in au.org.ala.ws.tokens
tokenClient(OidcConfiguration) - Method in AlaWsPluginConfig
TokenClient(OidcConfiguration) - Constructor in TokenClient
TokenInterceptor - Class in au.org.ala.ws.tokens
okhttp interceptor that inserts a bearer token into the request
TokenInterceptor(TokenService) - Constructor in TokenInterceptor
TokenService - Class in au.org.ala.ws.tokens
Component for getting access tokens for using on web service requests.
tokenService(Config, OidcConfiguration, Pac4jContextProvider, SessionStore, TokenClient) - Method in AlaWsPluginConfig
TokenService(Config, OidcConfiguration, Pac4jContextProvider, SessionStore, TokenClient, String, String, boolean) - Constructor in TokenService

U

UUID - Annotation Type in au.org.ala.ws.validation.constraints
UUIDValidator - Class in au.org.ala.ws.validation.constraints

V

ValidatedParameter - Annotation Type in au.org.ala.ws.validation
visit(ASTNode, SourceUnit) - Method in BeanValidationAST

W

WebService - Class in au.org.ala.ws.service
WSInterceptor - Class in au.org.ala.ws
WSInterceptor() - Constructor in WSInterceptor

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 _