org.mortbay.jetty.asyncblazeds
Class AsyncLegacyFilter
java.lang.Object
flex.messaging.endpoints.amf.AMFFilter
org.mortbay.jetty.asyncblazeds.AsyncLegacyFilter
public class AsyncLegacyFilter
- extends flex.messaging.endpoints.amf.AMFFilter
AMF Headers are of limited use because the apply to the entire AMF packet, which
may contain a batch of several requests.
Rather than relying on the Flash Player team to change the AMF specification,
Flex 1.5 introduced the concept of a Message Envelope that allowed them to provide
message level headers that apply to a single request body.
Essentially they introduced one more layer of indirection with an ASObject of type "Envelope"
that had two properties:
- headers, which was an array of Header structures
- body, which was the actual data of the request (typically an array of arguments)
To save space on the wire, a Header structure was simply an array. The first element was
the header name as a String, and was the only required field. The second element, a boolean,
indicated whether the header must be understood. The third element, any Object, represented
the header value, if required.
- Author:
- Peter Farland
Fields inherited from class flex.messaging.endpoints.amf.AMFFilter |
next |
Constructor Summary |
AsyncLegacyFilter(flex.messaging.endpoints.BaseHTTPEndpoint endpoint)
|
Method Summary |
void |
invoke(flex.messaging.io.amf.ActionContext context)
|
Methods inherited from class flex.messaging.endpoints.amf.AMFFilter |
getNext, setNext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LEGACY_ENVELOPE_FLAG_KEY
public static final java.lang.String LEGACY_ENVELOPE_FLAG_KEY
- See Also:
- Constant Field Values
LEGACY_ENVELOPE_FLAG_VALUE
public static final java.lang.String LEGACY_ENVELOPE_FLAG_VALUE
- See Also:
- Constant Field Values
LEGACY_SECURITY_HEADER_NAME
public static final java.lang.String LEGACY_SECURITY_HEADER_NAME
- See Also:
- Constant Field Values
LEGACY_SECURITY_PRINCIPAL
public static final java.lang.String LEGACY_SECURITY_PRINCIPAL
- See Also:
- Constant Field Values
LEGACY_SECURITY_CREDENTIALS
public static final java.lang.String LEGACY_SECURITY_CREDENTIALS
- See Also:
- Constant Field Values
AsyncLegacyFilter
public AsyncLegacyFilter(flex.messaging.endpoints.BaseHTTPEndpoint endpoint)
invoke
public void invoke(flex.messaging.io.amf.ActionContext context)
throws java.io.IOException
- Specified by:
invoke
in class flex.messaging.endpoints.amf.AMFFilter
- Throws:
java.io.IOException
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.