| java.lang.Object org.swingml.HttpSubmitController
HttpSubmitController | public class HttpSubmitController (Code) | | author: CrossLogic |
Method Summary | |
public static String | buildHttpRequest(Container aContainer) Uses the parent parameter as a starting point for building the parameters
to use during a submit() operation. | public static URL | getCodeBase() | public static String | getConnectionErrorSpec() Return an error panel saying that the server could not be connected to. | public static String | getInvalidTargetErrorSpec() | protected static String | getJSessionId(URLConnection httpConnection) Gets the JSESSIONID that is being set if one exists. | public static String | getServerURL() | public static String | getSessionId() | public static SwingMLServerResponse | getSpec(String address) Performs the equivalent of an HTTP Get call to the given URL, but doesn't
show progress. | public static SwingMLServerResponse | getSpec(String address, Container container) Performs the equivalent of an HTTP Get call to the given URL, indicating
progress as it processes. | public static void | processDocumentBase(String aSpecLocation) | public static void | processFormParameters(Container aContainer, StringBuffer aFormParameters) | public static void | setCodeBase(URL base) | public static void | setSessionId(URLConnection aConnection) | public static SwingMLServerResponse | submit(String address, Container submitter, String parameters, boolean showProgress) | public static SwingMLServerResponse | submit(String address, String request, Container container) Performs the equivalent of an HTTP POST to the given address, with the
given parameters. | public static SwingMLServerResponse | submitRemoteAction(String anAddress, RemoteAction action, Container aContainer) |
buildHttpRequest | public static String buildHttpRequest(Container aContainer)(Code) | | Uses the parent parameter as a starting point for building the parameters
to use during a submit() operation.
Parameters: parent - A reference to the Container to use as the root during theconstruction of the document's parameters. |
getCodeBase | public static URL getCodeBase()(Code) | | |
getConnectionErrorSpec | public static String getConnectionErrorSpec()(Code) | | Return an error panel saying that the server could not be connected to.
|
getInvalidTargetErrorSpec | public static String getInvalidTargetErrorSpec()(Code) | | |
getJSessionId | protected static String getJSessionId(URLConnection httpConnection)(Code) | | Gets the JSESSIONID that is being set if one exists.
Parameters: httpConnection - -The URLConnection The JSESSIONID |
processDocumentBase | public static void processDocumentBase(String aSpecLocation)(Code) | | |
setCodeBase | public static void setCodeBase(URL base)(Code) | | |
submit | public static SwingMLServerResponse submit(String address, String request, Container container)(Code) | | Performs the equivalent of an HTTP POST to the given address, with the
given parameters.
Parameters: address - Parameters: request - Parameters: container - |
|
|