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

A

AbstractValidator - Class in net.smartam.leeloo.common.validators
 
AbstractValidator() - Constructor for class net.smartam.leeloo.common.validators.AbstractValidator
 
ACCESS_DENIED - Static variable in class net.smartam.leeloo.common.error.OAuthError.CodeResponse
 
addHeader(String, String) - Method in interface net.smartam.leeloo.common.message.OAuthMessage
 
addHeader(String, String) - Method in class net.smartam.leeloo.common.message.OAuthResponse
 
applier - Variable in class net.smartam.leeloo.common.message.OAuthResponse.OAuthResponseBuilder
 
applyOAuthParameters(OAuthMessage, Map<String, String>) - Method in class net.smartam.leeloo.common.parameters.BodyURLEncodedParametersApplier
 
applyOAuthParameters(OAuthMessage, Map<String, String>) - Method in class net.smartam.leeloo.common.parameters.JSONBodyParametersApplier
 
applyOAuthParameters(OAuthMessage, Map<String, String>) - Method in interface net.smartam.leeloo.common.parameters.OAuthParametersApplier
 
applyOAuthParameters(OAuthMessage, Map<String, String>) - Method in class net.smartam.leeloo.common.parameters.QueryParameterApplier
 
applyOAuthParameters(OAuthMessage, Map<String, String>) - Method in class net.smartam.leeloo.common.parameters.WWWAuthHeaderParametersApplier
 
AUTH_SCHEME - Static variable in class net.smartam.leeloo.common.utils.OAuthUtils
 
AUTHORIZATION - Static variable in class net.smartam.leeloo.common.OAuth.HeaderType
 

B

body - Variable in class net.smartam.leeloo.common.message.OAuthResponse
 
BodyURLEncodedParametersApplier - Class in net.smartam.leeloo.common.parameters
 
BodyURLEncodedParametersApplier() - Constructor for class net.smartam.leeloo.common.parameters.BodyURLEncodedParametersApplier
 
buildBodyMessage() - Method in class net.smartam.leeloo.common.message.OAuthResponse.OAuthResponseBuilder
 
buildHeaderMessage() - Method in class net.smartam.leeloo.common.message.OAuthResponse.OAuthResponseBuilder
 
buildJSON(Map<String, String>) - Static method in class net.smartam.leeloo.common.utils.JSONUtils
 
buildJSONMessage() - Method in class net.smartam.leeloo.common.message.OAuthResponse.OAuthResponseBuilder
 
buildQueryMessage() - Method in class net.smartam.leeloo.common.message.OAuthResponse.OAuthResponseBuilder
 

C

CONTENT_TYPE - Static variable in class net.smartam.leeloo.common.OAuth.HeaderType
 

D

decodeForm(String) - Static method in class net.smartam.leeloo.common.utils.OAuthUtils
Parse a form-urlencoded document.
decodeOAuthHeader(String) - Static method in class net.smartam.leeloo.common.utils.OAuthUtils
 
decodePercent(String) - Static method in class net.smartam.leeloo.common.utils.OAuthUtils
 
decodeScopes(String) - Static method in class net.smartam.leeloo.common.utils.OAuthUtils
 
DEFAULT_PARAMETER_STYLE - Static variable in class net.smartam.leeloo.common.OAuth
 
DELETE - Static variable in class net.smartam.leeloo.common.OAuth.HttpMethod
 
description(String) - Method in exception net.smartam.leeloo.common.exception.OAuthProblemException
 

E

encodeOAuthHeader(Map<String, String>) - Static method in class net.smartam.leeloo.common.utils.OAuthUtils
Construct a WWW-Authenticate or Authorization header with the OAuth challenge/credentials
encodeScopes(Set<String>) - Static method in class net.smartam.leeloo.common.utils.OAuthUtils
 
error(String) - Static method in exception net.smartam.leeloo.common.exception.OAuthProblemException
 
error(String, String) - Static method in exception net.smartam.leeloo.common.exception.OAuthProblemException
 
error(OAuthProblemException) - Method in class net.smartam.leeloo.common.message.OAuthResponse.OAuthErrorResponseBuilder
 
errorResponse(int) - Static method in class net.smartam.leeloo.common.message.OAuthResponse
 
EXPIRED_TOKEN - Static variable in class net.smartam.leeloo.common.error.OAuthError.ResourceResponse
 

F

format(Collection<? extends Map.Entry<String, String>>, String) - Static method in class net.smartam.leeloo.common.utils.OAuthUtils
Translates parameters into application/x-www-form-urlencoded String

G

get(String) - Method in exception net.smartam.leeloo.common.exception.OAuthProblemException
 
GET - Static variable in class net.smartam.leeloo.common.OAuth.HttpMethod
 
getAuthHeaderField(String) - Static method in class net.smartam.leeloo.common.utils.OAuthUtils
 
getAuthzMethod(String) - Static method in class net.smartam.leeloo.common.utils.OAuthUtils
 
getBody() - Method in interface net.smartam.leeloo.common.message.OAuthMessage
 
getBody() - Method in class net.smartam.leeloo.common.message.OAuthResponse
 
getDescription() - Method in exception net.smartam.leeloo.common.exception.OAuthProblemException
 
getError() - Method in exception net.smartam.leeloo.common.exception.OAuthProblemException
 
getHeader(String) - Method in interface net.smartam.leeloo.common.message.OAuthMessage
 
getHeader(String) - Method in class net.smartam.leeloo.common.message.OAuthResponse
 
getHeaders() - Method in interface net.smartam.leeloo.common.message.OAuthMessage
 
getHeaders() - Method in class net.smartam.leeloo.common.message.OAuthResponse
 
getLocationUri() - Method in interface net.smartam.leeloo.common.message.OAuthMessage
 
getLocationUri() - Method in class net.smartam.leeloo.common.message.OAuthResponse
 
getMessage() - Method in exception net.smartam.leeloo.common.exception.OAuthProblemException
 
getParameters() - Method in exception net.smartam.leeloo.common.exception.OAuthProblemException
 
getRedirectUri() - Method in exception net.smartam.leeloo.common.exception.OAuthProblemException
 
getResponseStatus() - Method in class net.smartam.leeloo.common.message.OAuthResponse
 
getScope() - Method in exception net.smartam.leeloo.common.exception.OAuthProblemException
 
getState() - Method in exception net.smartam.leeloo.common.exception.OAuthProblemException
 
getUri() - Method in exception net.smartam.leeloo.common.exception.OAuthProblemException
 
GrantType - Enum in net.smartam.leeloo.common.message.types
 

H

handleMissingParameters(Set<String>) - Static method in class net.smartam.leeloo.common.utils.OAuthUtils
Creates OAuthProblemException that contains set of missing oauth parameters
handleNotAllowedParametersOAuthException(List<String>) - Static method in class net.smartam.leeloo.common.utils.OAuthUtils
 
handleOAuthProblemException(String) - Static method in class net.smartam.leeloo.common.utils.OAuthUtils
Creates invalid_request exception with given message
hasContentType(String, String) - Static method in class net.smartam.leeloo.common.utils.OAuthUtils
 
hasEmptyValues(String[]) - Static method in class net.smartam.leeloo.common.utils.OAuthUtils
 
headers - Variable in class net.smartam.leeloo.common.message.OAuthResponse
 

I

instantiateClass(Class) - Static method in class net.smartam.leeloo.common.utils.OAuthUtils
 
instantiateClassWithParameters(Class, Class[], Object[]) - Static method in class net.smartam.leeloo.common.utils.OAuthUtils
 
INSUFFICIENT_SCOPE - Static variable in class net.smartam.leeloo.common.error.OAuthError.ResourceResponse
 
INVALID_CLIENT - Static variable in class net.smartam.leeloo.common.error.OAuthError.CodeResponse
 
INVALID_CLIENT - Static variable in class net.smartam.leeloo.common.error.OAuthError.TokenResponse
 
INVALID_GRANT - Static variable in class net.smartam.leeloo.common.error.OAuthError.TokenResponse
 
INVALID_REQUEST - Static variable in class net.smartam.leeloo.common.error.OAuthError.CodeResponse
 
INVALID_REQUEST - Static variable in class net.smartam.leeloo.common.error.OAuthError.ResourceResponse
 
INVALID_REQUEST - Static variable in class net.smartam.leeloo.common.error.OAuthError.TokenResponse
 
INVALID_SCOPE - Static variable in class net.smartam.leeloo.common.error.OAuthError.CodeResponse
 
INVALID_SCOPE - Static variable in class net.smartam.leeloo.common.error.OAuthError.TokenResponse
 
INVALID_TOKEN - Static variable in class net.smartam.leeloo.common.error.OAuthError.ResourceResponse
 
isEmpty(String) - Static method in class net.smartam.leeloo.common.utils.OAuthUtils
 
isFormEncoded(String) - Static method in class net.smartam.leeloo.common.utils.OAuthUtils
Return true if the given Content-Type header means FORM_ENCODED.
isMultipart(HttpServletRequest) - Static method in class net.smartam.leeloo.common.utils.OAuthUtils
 

J

JSON - Static variable in class net.smartam.leeloo.common.OAuth.ContentType
 
JSONBodyParametersApplier - Class in net.smartam.leeloo.common.parameters
 
JSONBodyParametersApplier() - Constructor for class net.smartam.leeloo.common.parameters.JSONBodyParametersApplier
 
JSONUtils - Class in net.smartam.leeloo.common.utils
 
JSONUtils() - Constructor for class net.smartam.leeloo.common.utils.JSONUtils
 

L

location(String) - Method in class net.smartam.leeloo.common.message.OAuthResponse.OAuthErrorResponseBuilder
 
location - Variable in class net.smartam.leeloo.common.message.OAuthResponse.OAuthResponseBuilder
 
location(String) - Method in class net.smartam.leeloo.common.message.OAuthResponse.OAuthResponseBuilder
 

M

MULTIPART - Static variable in class net.smartam.leeloo.common.utils.OAuthUtils
 

N

net.smartam.leeloo.common - package net.smartam.leeloo.common
 
net.smartam.leeloo.common.error - package net.smartam.leeloo.common.error
 
net.smartam.leeloo.common.exception - package net.smartam.leeloo.common.exception
 
net.smartam.leeloo.common.message - package net.smartam.leeloo.common.message
 
net.smartam.leeloo.common.message.types - package net.smartam.leeloo.common.message.types
 
net.smartam.leeloo.common.parameters - package net.smartam.leeloo.common.parameters
 
net.smartam.leeloo.common.utils - package net.smartam.leeloo.common.utils
 
net.smartam.leeloo.common.validators - package net.smartam.leeloo.common.validators
 
notAllowedParams - Variable in class net.smartam.leeloo.common.validators.AbstractValidator
 

O

OAuth - Class in net.smartam.leeloo.common
 
OAuth() - Constructor for class net.smartam.leeloo.common.OAuth
 
OAuth.ContentType - Class in net.smartam.leeloo.common
 
OAuth.ContentType() - Constructor for class net.smartam.leeloo.common.OAuth.ContentType
 
OAuth.HeaderType - Class in net.smartam.leeloo.common
 
OAuth.HeaderType() - Constructor for class net.smartam.leeloo.common.OAuth.HeaderType
 
OAuth.HttpMethod - Class in net.smartam.leeloo.common
 
OAuth.HttpMethod() - Constructor for class net.smartam.leeloo.common.OAuth.HttpMethod
 
OAuth.WWWAuthHeader - Class in net.smartam.leeloo.common
 
OAuth.WWWAuthHeader() - Constructor for class net.smartam.leeloo.common.OAuth.WWWAuthHeader
 
OAUTH_ACCESS_TOKEN - Static variable in class net.smartam.leeloo.common.OAuth
 
OAUTH_ASSERTION - Static variable in class net.smartam.leeloo.common.OAuth
 
OAUTH_ASSERTION_TYPE - Static variable in class net.smartam.leeloo.common.OAuth
 
OAUTH_CLIENT_ID - Static variable in class net.smartam.leeloo.common.OAuth
 
OAUTH_CLIENT_SECRET - Static variable in class net.smartam.leeloo.common.OAuth
 
OAUTH_CODE - Static variable in class net.smartam.leeloo.common.OAuth
 
OAUTH_ERROR - Static variable in class net.smartam.leeloo.common.error.OAuthError
 
OAUTH_ERROR_DESCRIPTION - Static variable in class net.smartam.leeloo.common.error.OAuthError
 
OAUTH_ERROR_URI - Static variable in class net.smartam.leeloo.common.error.OAuthError
 
OAUTH_EXPIRES_IN - Static variable in class net.smartam.leeloo.common.OAuth
 
OAUTH_GRANT_TYPE - Static variable in class net.smartam.leeloo.common.OAuth
 
OAUTH_HEADER_NAME - Static variable in class net.smartam.leeloo.common.OAuth
 
OAUTH_PASSWORD - Static variable in class net.smartam.leeloo.common.OAuth
 
OAUTH_REDIRECT_URI - Static variable in class net.smartam.leeloo.common.OAuth
 
OAUTH_REFRESH_TOKEN - Static variable in class net.smartam.leeloo.common.OAuth
 
OAUTH_RESPONSE_TYPE - Static variable in class net.smartam.leeloo.common.OAuth
 
OAUTH_SCOPE - Static variable in class net.smartam.leeloo.common.OAuth
 
OAUTH_STATE - Static variable in class net.smartam.leeloo.common.OAuth
 
OAUTH_TOKEN - Static variable in class net.smartam.leeloo.common.OAuth
 
OAUTH_TOKEN_DRAFT_0 - Static variable in class net.smartam.leeloo.common.OAuth
 
OAUTH_USERNAME - Static variable in class net.smartam.leeloo.common.OAuth
 
OAUTH_VERSION_DIFFER - Static variable in class net.smartam.leeloo.common.OAuth
 
OAuthError - Class in net.smartam.leeloo.common.error
 
OAuthError() - Constructor for class net.smartam.leeloo.common.error.OAuthError
 
OAuthError.CodeResponse - Class in net.smartam.leeloo.common.error
 
OAuthError.CodeResponse() - Constructor for class net.smartam.leeloo.common.error.OAuthError.CodeResponse
 
OAuthError.ResourceResponse - Class in net.smartam.leeloo.common.error
 
OAuthError.ResourceResponse() - Constructor for class net.smartam.leeloo.common.error.OAuthError.ResourceResponse
 
OAuthError.TokenResponse - Class in net.smartam.leeloo.common.error
 
OAuthError.TokenResponse() - Constructor for class net.smartam.leeloo.common.error.OAuthError.TokenResponse
 
OAuthMessage - Interface in net.smartam.leeloo.common.message
 
OAuthParametersApplier - Interface in net.smartam.leeloo.common.parameters
Applies given parameters to the OAuth message.
OAuthProblemException - Exception in net.smartam.leeloo.common.exception
 
OAuthResponse - Class in net.smartam.leeloo.common.message
 
OAuthResponse(String, int) - Constructor for class net.smartam.leeloo.common.message.OAuthResponse
 
OAuthResponse.OAuthErrorResponseBuilder - Class in net.smartam.leeloo.common.message
 
OAuthResponse.OAuthErrorResponseBuilder(int) - Constructor for class net.smartam.leeloo.common.message.OAuthResponse.OAuthErrorResponseBuilder
 
OAuthResponse.OAuthResponseBuilder - Class in net.smartam.leeloo.common.message
 
OAuthResponse.OAuthResponseBuilder(int) - Constructor for class net.smartam.leeloo.common.message.OAuthResponse.OAuthResponseBuilder
 
OAuthSystemException - Exception in net.smartam.leeloo.common.exception
 
OAuthSystemException() - Constructor for exception net.smartam.leeloo.common.exception.OAuthSystemException
 
OAuthSystemException(String) - Constructor for exception net.smartam.leeloo.common.exception.OAuthSystemException
 
OAuthSystemException(Throwable) - Constructor for exception net.smartam.leeloo.common.exception.OAuthSystemException
 
OAuthSystemException(String, Throwable) - Constructor for exception net.smartam.leeloo.common.exception.OAuthSystemException
 
OAuthUtils - Class in net.smartam.leeloo.common.utils
Common OAuth Utils class.
OAuthUtils() - Constructor for class net.smartam.leeloo.common.utils.OAuthUtils
 
OAuthValidator - Interface in net.smartam.leeloo.common.validators
 
optionalParams - Variable in class net.smartam.leeloo.common.validators.AbstractValidator
 

P

parameters - Variable in class net.smartam.leeloo.common.message.OAuthResponse.OAuthResponseBuilder
 
ParameterStyle - Enum in net.smartam.leeloo.common.message.types
 
parseJSON(String) - Static method in class net.smartam.leeloo.common.utils.JSONUtils
 
percentEncode(Iterable) - Static method in class net.smartam.leeloo.common.utils.OAuthUtils
Construct a &-separated list of the given values, percentEncoded.
percentEncode(String) - Static method in class net.smartam.leeloo.common.utils.OAuthUtils
 
performAllValidations(HttpServletRequest) - Method in class net.smartam.leeloo.common.validators.AbstractValidator
 
performAllValidations(HttpServletRequest) - Method in interface net.smartam.leeloo.common.validators.OAuthValidator
 
POST - Static variable in class net.smartam.leeloo.common.OAuth.HttpMethod
 
PUT - Static variable in class net.smartam.leeloo.common.OAuth.HttpMethod
 

Q

QueryParameterApplier - Class in net.smartam.leeloo.common.parameters
 
QueryParameterApplier() - Constructor for class net.smartam.leeloo.common.parameters.QueryParameterApplier
 

R

REALM - Static variable in class net.smartam.leeloo.common.OAuth.WWWAuthHeader
 
REDIRECT_URI_MISMATCH - Static variable in class net.smartam.leeloo.common.error.OAuthError.CodeResponse
 
requiredParams - Variable in class net.smartam.leeloo.common.validators.AbstractValidator
 
responseCode - Variable in class net.smartam.leeloo.common.message.OAuthResponse.OAuthResponseBuilder
 
responseStatus - Variable in class net.smartam.leeloo.common.message.OAuthResponse
 
ResponseType - Enum in net.smartam.leeloo.common.message.types
 

S

saveStreamAsString(InputStream) - Static method in class net.smartam.leeloo.common.utils.OAuthUtils
Read data from Input Stream and save it as a String.
scope(String) - Method in exception net.smartam.leeloo.common.exception.OAuthProblemException
 
setBody(String) - Method in interface net.smartam.leeloo.common.message.OAuthMessage
 
setBody(String) - Method in class net.smartam.leeloo.common.message.OAuthResponse
 
setError(String) - Method in class net.smartam.leeloo.common.message.OAuthResponse.OAuthErrorResponseBuilder
 
setErrorDescription(String) - Method in class net.smartam.leeloo.common.message.OAuthResponse.OAuthErrorResponseBuilder
 
setErrorUri(String) - Method in class net.smartam.leeloo.common.message.OAuthResponse.OAuthErrorResponseBuilder
 
setHeaders(Map<String, String>) - Method in interface net.smartam.leeloo.common.message.OAuthMessage
 
setHeaders(Map<String, String>) - Method in class net.smartam.leeloo.common.message.OAuthResponse
 
setLocationUri(String) - Method in interface net.smartam.leeloo.common.message.OAuthMessage
 
setLocationUri(String) - Method in class net.smartam.leeloo.common.message.OAuthResponse
 
setParam(String, String) - Method in class net.smartam.leeloo.common.message.OAuthResponse.OAuthResponseBuilder
 
setParameter(String, String) - Method in exception net.smartam.leeloo.common.exception.OAuthProblemException
 
setRealm(String) - Method in class net.smartam.leeloo.common.message.OAuthResponse.OAuthErrorResponseBuilder
 
setRedirectUri(String) - Method in exception net.smartam.leeloo.common.exception.OAuthProblemException
 
setScope(String) - Method in class net.smartam.leeloo.common.message.OAuthResponse.OAuthResponseBuilder
 
setState(String) - Method in class net.smartam.leeloo.common.message.OAuthResponse.OAuthErrorResponseBuilder
 
state(String) - Method in exception net.smartam.leeloo.common.exception.OAuthProblemException
 
status(int) - Static method in class net.smartam.leeloo.common.message.OAuthResponse
 

T

toString() - Method in exception net.smartam.leeloo.common.exception.OAuthProblemException
 
toString() - Method in enum net.smartam.leeloo.common.message.types.GrantType
 
toString() - Method in enum net.smartam.leeloo.common.message.types.ParameterStyle
 
toString() - Method in enum net.smartam.leeloo.common.message.types.ResponseType
 

U

UNAUTHORIZED_CLIENT - Static variable in class net.smartam.leeloo.common.error.OAuthError.CodeResponse
 
UNAUTHORIZED_CLIENT - Static variable in class net.smartam.leeloo.common.error.OAuthError.TokenResponse
 
UNSUPPORTED_GRANT_TYPE - Static variable in class net.smartam.leeloo.common.error.OAuthError.TokenResponse
 
UNSUPPORTED_RESPONSE_TYPE - Static variable in class net.smartam.leeloo.common.error.OAuthError.CodeResponse
 
uri(String) - Method in exception net.smartam.leeloo.common.exception.OAuthProblemException
 
uri - Variable in class net.smartam.leeloo.common.message.OAuthResponse
 
URL_ENCODED - Static variable in class net.smartam.leeloo.common.OAuth.ContentType
 

V

validateContentType(HttpServletRequest) - Method in class net.smartam.leeloo.common.validators.AbstractValidator
 
validateContentType(HttpServletRequest) - Method in interface net.smartam.leeloo.common.validators.OAuthValidator
 
validateMethod(HttpServletRequest) - Method in class net.smartam.leeloo.common.validators.AbstractValidator
 
validateMethod(HttpServletRequest) - Method in interface net.smartam.leeloo.common.validators.OAuthValidator
 
validateNotAllowedParameters(HttpServletRequest) - Method in class net.smartam.leeloo.common.validators.AbstractValidator
 
validateNotAllowedParameters(HttpServletRequest) - Method in interface net.smartam.leeloo.common.validators.OAuthValidator
 
validateOptionalParameters(HttpServletRequest) - Method in class net.smartam.leeloo.common.validators.AbstractValidator
 
validateOptionalParameters(HttpServletRequest) - Method in interface net.smartam.leeloo.common.validators.OAuthValidator
 
validateRequiredParameters(HttpServletRequest) - Method in class net.smartam.leeloo.common.validators.AbstractValidator
 
validateRequiredParameters(HttpServletRequest) - Method in interface net.smartam.leeloo.common.validators.OAuthValidator
 
valueOf(String) - Static method in enum net.smartam.leeloo.common.message.types.GrantType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.smartam.leeloo.common.message.types.ParameterStyle
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.smartam.leeloo.common.message.types.ResponseType
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.smartam.leeloo.common.message.types.GrantType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.smartam.leeloo.common.message.types.ParameterStyle
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.smartam.leeloo.common.message.types.ResponseType
Returns an array containing the constants of this enum type, in the order they are declared.

W

WWW_AUTHENTICATE - Static variable in class net.smartam.leeloo.common.OAuth.HeaderType
 
WWWAuthHeaderParametersApplier - Class in net.smartam.leeloo.common.parameters
 
WWWAuthHeaderParametersApplier() - Constructor for class net.smartam.leeloo.common.parameters.WWWAuthHeaderParametersApplier
 

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

Copyright © 2010. All Rights Reserved.