Package com.eka.middleware.service
Class DataPipeline
java.lang.Object
com.eka.middleware.service.DataPipeline
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDataPipeline
(RuntimePipeline runtimePipeline, String resource, String urlPath) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
appLogProfile
(AuthAccount acc) void
void
applyAsync
(String fqnOfMethod) void
applyAsync
(String fqnOfMethod, javax.json.JsonArray transformers) void
clear()
void
void
generateWithUUID
(String UUID, int expiresAfterHours, String email, String userId, String name, List<String> groups) getAsBoolean
(String pointer) getAsInteger
(String pointer) getAsNumber
(String pointer) getAsString
(String pointer) byte[]
getBody()
org.pac4j.core.profile.UserProfile
getFileName
(InputStream fileStream) getFileName
(String paramName) getFiles()
getGlobalConfig
(String key) getInteger
(String key) getMap()
getMyConfig
(String key) getMyPackageConfig
(String key) int
getValueByPointer
(String pointer) boolean
void
Deprecated.void
void
void
void
logDataPipeline
(org.apache.logging.log4j.Level level) void
logException
(Throwable exception) void
void
void
refresh()
void
void
void
saveJdbc
(DataPipeline dataPipeline, Path path) void
saveProperties
(String path, byte[] data) void
setBody
(byte[] bytes) void
void
setBody
(InputStream is, boolean downloadAsStreamFile) void
setResponseStatus
(int statusCode) void
setValueByPointer
(String pointer, Object value, String outTypePath) void
toJson()
toXml()
toYaml()
-
Field Details
-
rp
-
-
Constructor Details
-
DataPipeline
-
-
Method Details
-
isDestroyed
public boolean isDestroyed() -
get
-
getString
-
getInteger
- Throws:
SnippetException
-
refresh
public void refresh() -
drop
-
setResponseStatus
- Throws:
SnippetException
-
put
-
putAll
-
getSessionId
-
getCorrelationId
-
getPathParameters
-
getQueryParameters
-
getHeaders
-
getAsMap
-
getAsList
-
getAsInteger
-
getAsNumber
-
getAsByte
-
getAsDate
-
getAsBoolean
-
getAsString
-
getValueByPointer
-
setValueByPointer
-
toJson
-
toXml
-
getMap
-
toYaml
-
save
-
restore
-
snap
-
getBodyAsStream
- Throws:
SnippetException
-
getFile
- Throws:
SnippetException
-
getFileName
- Throws:
SnippetException
-
getFiles
- Throws:
SnippetException
-
getFileName
- Throws:
SnippetException
-
getBody
- Throws:
SnippetException
-
setBody
- Throws:
SnippetException
-
setBody
- Throws:
SnippetException
-
setBody
- Throws:
SnippetException
-
getMultiPart
- Throws:
SnippetException
-
getUniqueThreadName
-
getCurrentResourceName
-
clear
public void clear() -
apply
- Throws:
SnippetException
-
applyAsync
public void applyAsync(String fqnOfMethod, javax.json.JsonArray transformers) throws SnippetException - Throws:
SnippetException
-
applyAsync
- Throws:
SnippetException
-
getMyConfig
- Throws:
SnippetException
-
getMyPackageConfig
- Throws:
SnippetException
-
saveJdbc
- Throws:
SnippetException
IOException
-
saveProperties
-
getMyPackageConfigPath
-
getMyProperties
- Throws:
SnippetException
-
logDataPipeline
public void logDataPipeline(org.apache.logging.log4j.Level level) -
logException
-
logDataPipeline
public void logDataPipeline() -
log
-
keyLog
Deprecated. -
appLog
-
appLogProfile
-
log
-
getGlobalConfig
- Throws:
SnippetException
-
getStackIndex
public int getStackIndex() -
getUrlPath
-
getCurrentRuntimeAccount
- Throws:
SnippetException
-
getCurrentUserProfile
- Throws:
SnippetException
-
clearUserSession
- Throws:
SnippetException
-
getRemoteIpAddr
-
getCurrentURI
-
generateWithUUID
public String generateWithUUID(String UUID, int expiresAfterHours, String email, String userId, String name, List<String> groups) throws Exception - Throws:
Exception
-