@Service public class LTILaunchServiceImpl extends Object implements LTILaunchService
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
LTILaunchServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected List<org.apache.http.NameValuePair> |
buildFormBody(Map<String,String> parameters) |
org.json.JSONObject |
getFormData(String key,
Map<String,String> headers) |
URI |
getRedirectUri(String key,
Map<String,String> headers) |
protected Map<String,String> |
prepareParameters(String key,
Map<String,String> requestHeaders) |
protected Map<String,String> |
replaceHeaders(String key,
Map<String,String> requestHeaders) |
protected LTIParameters |
signParameters(String key,
Map<String,String> paramsToSign) |
public URI getRedirectUri(String key, Map<String,String> headers) throws com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException, org.imsglobal.lti.launch.LtiSigningException, URISyntaxException
getRedirectUri in interface LTILaunchServicecom.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOExceptionorg.imsglobal.lti.launch.LtiSigningExceptionURISyntaxExceptionpublic org.json.JSONObject getFormData(String key, Map<String,String> headers) throws com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException, org.imsglobal.lti.launch.LtiSigningException, org.json.JSONException
getFormData in interface LTILaunchServicecom.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOExceptionorg.imsglobal.lti.launch.LtiSigningExceptionorg.json.JSONExceptionprotected Map<String,String> prepareParameters(String key, Map<String,String> requestHeaders) throws com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException, org.imsglobal.lti.launch.LtiSigningException, org.json.JSONException
com.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOExceptionorg.imsglobal.lti.launch.LtiSigningExceptionorg.json.JSONExceptionprotected LTIParameters signParameters(String key, Map<String,String> paramsToSign) throws org.imsglobal.lti.launch.LtiSigningException
org.imsglobal.lti.launch.LtiSigningExceptionprotected Map<String,String> replaceHeaders(String key, Map<String,String> requestHeaders) throws com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException
com.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOExceptionprotected List<org.apache.http.NameValuePair> buildFormBody(Map<String,String> parameters) throws UnsupportedEncodingException
UnsupportedEncodingExceptionCopyright © 2017 Pivotal Software, Inc.. All rights reserved.