|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.impl.OptimizedRequestContext
NOT FOR POUBLIC USE - please use the interface provided by RequestContext. This is a temporary interface that helps provide an (optimized) fix for message scribbling.
Mutating methods have three versions: default (RequestContext; makes and returns a new copy); unsafe (doesn't make a copy, use only where certain no threading); critical (as safe, but documents that threading a known issue).
Method Summary | |
static UMOMessage |
criticalRewriteEvent(UMOMessage message)
Sets a new message payload in the RequestContext but maintains all other properties (session, endpoint, synchronous, etc.) from the previous event. |
static UMOEvent |
criticalSetEvent(UMOEvent event)
Set an event for out-of-scope thread access. |
static UMOMessage |
criticalWriteResponse(UMOMessage message)
|
static UMOMessage |
unsafeRewriteEvent(UMOMessage message)
Sets a new message payload in the RequestContext but maintains all other properties (session, endpoint, synchronous, etc.) from the previous event. |
static UMOEvent |
unsafeSetEvent(UMOEvent event)
Set an event for out-of-scope thread access. |
static UMOMessage |
unsafeWriteResponse(UMOMessage message)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static UMOEvent unsafeSetEvent(UMOEvent event)
event
- - the event to set
public static UMOEvent criticalSetEvent(UMOEvent event)
event
- - the event to set
public static UMOMessage unsafeRewriteEvent(UMOMessage message)
message
- - the new message payload
public static UMOMessage criticalRewriteEvent(UMOMessage message)
message
- - the new message payload
public static UMOMessage unsafeWriteResponse(UMOMessage message)
public static UMOMessage criticalWriteResponse(UMOMessage message)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |