@Deprecated @ConfigurationWarning(value="Please replace with UnzipPipe. Configure UnzipPipe with getInputFromSessionKey=\'file\', directorySessionKey=\'destination\' and keepOriginalFileName=\'true\'.") public class UploadFilePipe extends FixedForwardPipe
Modifier and Type | Field and Description |
---|---|
protected String |
directorySessionKey
Deprecated.
|
parameterNamesMustBeUnique
log
LONG_DURATION_MONITORING_EVENT, MESSAGE_SIZE_MONITORING_EVENT, PIPE_EXCEPTION_MONITORING_EVENT
Constructor and Description |
---|
UploadFilePipe()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
configure()
Deprecated.
checks for correct configuration of forward
|
PipeRunResult |
doPipe(Message message,
PipeLineSession session)
Deprecated.
This is where the action takes place.
|
String |
getDirectory()
Deprecated.
|
String |
getDirectorySessionKey()
Deprecated.
|
String |
getSessionKey()
Deprecated.
|
void |
setDirectory(String string)
Deprecated.
base directory where files are unzipped to
|
void |
setDirectorySessionKey(String string)
Deprecated.
the session key that contains the base directory where files are unzipped to
|
void |
setSessionKey(String string)
Deprecated.
name of the key in the
pipelinesession which contains the inputstream |
getParameterValue, setIfParam, setIfValue, setOnlyIfSessionKey, setOnlyIfValue, setSkipOnEmptyInput, setUnlessSessionKey, setUnlessValue, skipPipe
addParameter, consumesSessionVariable, createBean, findForward, getAdapter, getEventSourceName, getForwards, getInSizeStatDummyObject, getOutSizeStatDummyObject, getParameterList, hasSizeStatistics, registerEvent, registerForward, setApplicationContext, setChompCharSize, setDurationThreshold, setElementToMove, setElementToMoveChain, setElementToMoveSessionKey, setEmptyInputReplacement, setGetInputFromFixedValue, setGetInputFromSessionKey, setHideRegex, setLocker, setLogIntermediaryResults, setMaxThreads, setName, setPreserveInput, setRemoveCompactMsgNamespaces, setRestoreMovedElements, setSecLogSessionKeys, setSizeStatistics, setStoreResultInSessionKey, setWriteToSecLog, start, stop, throwEvent
configureTransactionAttributes, isTransacted, isTransacted, setTransacted, setTransactionTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChompCharSize, getDurationThreshold, getElementToMove, getElementToMoveChain, getElementToMoveSessionKey, getEmptyInputReplacement, getGetInputFromFixedValue, getGetInputFromSessionKey, getLocker, getSecLogSessionKeys, getStoreResultInSessionKey, isPreserveInput, isRemoveCompactMsgNamespaces, isRestoreMovedElements, isWriteToSecLog, setPipeLine, throwEvent
getMaxThreads
getName
getApplicationContext, getName
getConfigurationClassLoader
getName
getTransactionAttribute, getTransactionTimeout, getTxDef, setTransactionAttribute
protected String directorySessionKey
public void configure() throws ConfigurationException
FixedForwardPipe
configure
in interface IConfigurable
configure
in interface IPipe
configure
in class FixedForwardPipe
ConfigurationException
public PipeRunResult doPipe(Message message, PipeLineSession session) throws PipeRunException
IPipe
FixedResultPipe
, the Pipe
can schedule the input to be closed at session exit, by calling Message.closeOnCloseOf(PipeLineSession, String)
This allows the previous Pipe to release any resources (e.g. connections) that it might have kept open
until the message was consumed. Doing so avoids connections leaking from pools, while it enables
efficient streaming processing of data while it is being read from a stream.PipeRunException
public void setDirectory(String string)
public String getDirectory()
public void setDirectorySessionKey(String string)
public String getDirectorySessionKey()
public String getSessionKey()
public void setSessionKey(String string)
pipelinesession
which contains the inputstreamCopyright © 2023 Frank!Framework. All rights reserved.