|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.management.ManageableComponent
flex.messaging.endpoints.AbstractEndpoint
flex.messaging.endpoints.BaseHTTPEndpoint
public abstract class BaseHTTPEndpoint
Base for all of HTTP-based endpoints.
| Field Summary |
|---|
| Fields inherited from class flex.messaging.endpoints.AbstractEndpoint |
|---|
LOG_CATEGORY |
| Constructor Summary | |
|---|---|
BaseHTTPEndpoint()
Constructs an unmanaged BaseHTTPEndpoint. |
|
BaseHTTPEndpoint(boolean enableManagement)
Constructs an BaseHTTPEndpoint with the indicated management. |
|
| Method Summary | |
|---|---|
String |
getRedirectURL()
Returns the redirect-url property. |
void |
initialize(String id,
ConfigMap properties)
Initializes the Endpoint with the properties. |
boolean |
isAddNoCacheHeaders()
Returns the add-no-cache-headers property. |
boolean |
isInvalidateSessionOnDisconnect()
Indicates whether the server session will be invalidated when a client channel disconnects. |
void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Handle AMF/AMFX encoded messages sent over HTTP. |
void |
setAddNoCacheHeaders(boolean addNoCacheHeaders)
Sets the add-no-cache-headers property. |
void |
setInvalidateSessionOnDisconnect(boolean value)
Set to true to invalidate the server session for a client
that disconnects its channel. |
void |
setRedirectURL(String redirectURL)
Sets the redirect-url property. |
FlexClient |
setupFlexClient(String id)
Overrides to guard against duplicate HTTP-based sessions for the same FlexClient which will occur if the remote host has disabled session cookies. |
void |
start()
Starts the Endpoint by creating a filter chain and setting
up serializers and deserializers. |
| Methods inherited from class flex.management.ManageableComponent |
|---|
getControl, getId, getParent, isManaged, isStarted, isValid, setControl, setManaged, setParent |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface flex.messaging.endpoints.Endpoint |
|---|
getId, isStarted |
| Methods inherited from interface flex.management.Manageable |
|---|
getControl, isManaged, setControl, setManaged |
| Constructor Detail |
|---|
public BaseHTTPEndpoint()
BaseHTTPEndpoint.
public BaseHTTPEndpoint(boolean enableManagement)
BaseHTTPEndpoint with the indicated management.
enableManagement - true if the BaseHTTPEndpoint
is manageable; otherwise false.| Method Detail |
|---|
public void initialize(String id,
ConfigMap properties)
Endpoint with the properties.
If subclasses override, they must call super.initialize().
initialize in interface Endpointinitialize in interface FlexConfigurableinitialize in class AbstractEndpointid - Id of the Endpoint.properties - Properties for the Endpoint.public void start()
Endpoint by creating a filter chain and setting
up serializers and deserializers.
start in interface Endpointstart in interface FlexComponentstart in class AbstractEndpointpublic boolean isAddNoCacheHeaders()
add-no-cache-headers property.
true if add-no-cache-headers is enabled;
otherwise false.public void setAddNoCacheHeaders(boolean addNoCacheHeaders)
add-no-cache-headers property.
addNoCacheHeaders - public boolean isInvalidateSessionOnDisconnect()
false.
true if the server session will be invalidated
when a client channel disconnects.public void setInvalidateSessionOnDisconnect(boolean value)
true to invalidate the server session for a client
that disconnects its channel.
Default is false.
value - Set to true to invalidate the server session for a client
that disconnects its channel.public String getRedirectURL()
redirect-url property.
redirect-url property.public void setRedirectURL(String redirectURL)
redirect-url property.
redirectURL -
public void service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
service in interface Endpointservice in class AbstractEndpointreq - The original servlet request.res - The active servlet response.public FlexClient setupFlexClient(String id)
setupFlexClient in class AbstractEndpointid - The FlexClient id value from the client.
AbstractEndpoint.setupFlexClient(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/endpoints/BaseHTTPEndpoint.html