Class MessageRFC822Node
- java.lang.Object
-
- com.levigo.jadice.server.internal.NodeInternal
-
- com.levigo.jadice.server.Node
-
- com.levigo.jadice.server.javamail.MessageRFC822Node
-
public class MessageRFC822Node extends Node
ThisNode
handles rfc822 messages that are embedded in a stream.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.levigo.jadice.server.Node
Node.Cardinality
-
-
Constructor Summary
Constructors Constructor Description MessageRFC822Node()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getWorkerClassName()
Return the node's associatedcom.levigo.jadice.server.core.NodeWorker
full qualified class's name.boolean
isIgnoreOriginalMimeTypes()
void
setIgnoreOriginalMimeTypes(boolean ignoreOriginalMimeTypes)
Set whether the original MIME-type information should be ignored.-
Methods inherited from class com.levigo.jadice.server.Node
addTransportReceiver, appendSuccessor, apply, equals, getInputCardinality, getJob, getOutputCardinality, getPredecessors, getSubsidiaryNodes, getSuccessors, getTransportSender, getUUID, hashCode, initialize, prependPredecessor, remove, validateConfiguration
-
-
-
-
Method Detail
-
getWorkerClassName
public String getWorkerClassName()
Description copied from class:Node
Return the node's associatedcom.levigo.jadice.server.core.NodeWorker
full qualified class's name. By default, the worker class name is- The same as the node name with the trailing "Node" replaced by "Worker" if the node name ends in "Node"
- The node class name with an appended "Worker" otherwise.
This behavior can be overridden in concrete subclasses.
- Overrides:
getWorkerClassName
in classNode
- Returns:
- the full qualified class name of the worker of this node.
-
setIgnoreOriginalMimeTypes
public void setIgnoreOriginalMimeTypes(boolean ignoreOriginalMimeTypes)
Set whether the original MIME-type information should be ignored.This flag indicates whether the original MIME-type information from any MIME-encoded messages should be mistrusted. If set to
true
, all MIME types are set toStreamDescriptor.UNKNOWN_MIME_TYPE
("unknown") and the original MIME type information is propagated using the property "PURPORTED_MIME_TYPE". This option can be used to let thecom.levigo.jadice.server.documentplatform.StreamAnalysisNode
determine the actual MIME types in cases when the purported information is unreliable.An exception from the mistrust are the
multipart/*
,text/*
andmessage/*
types—for those types the information must be trusted. Default value:false
.- Parameters:
ignoreOriginalMimeTypes
- flag if or if not to ignore the original MIME type- Since:
- jadice server 4.3.1.6
-
isIgnoreOriginalMimeTypes
public boolean isIgnoreOriginalMimeTypes()
- Returns:
- whether the original MIME-type information should be ignored.
- Since:
- jadice server 4.3.1.6
-
-