|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.acsinet_solutions.cetia4.http.SimpleHttpCommandProcessor
com.acsinet_solutions.cetia4.http.J2EEFormHttpCommandProcessor
public final class J2EEFormHttpCommandProcessor
Simple implmentation of a command processor that may perform optional J2EE Form authentication. Jakarta Commons HTTPClient is used internally.
| Constructor Summary | |
|---|---|
J2EEFormHttpCommandProcessor()
Default construtor |
|
J2EEFormHttpCommandProcessor(java.lang.String base,
java.lang.String login,
java.lang.String password)
Parametric construtor |
|
| Method Summary | |
|---|---|
int |
execute(HttpCommand command,
java.io.OutputStream ostream)
Execute the command request and write the result's contents to the given output stream. |
void |
setLogin(java.lang.String login)
Sets the login for authenticated requests. |
void |
setPassword(java.lang.String password)
Sets the password for authenticated requests. |
| Methods inherited from class com.acsinet_solutions.cetia4.http.SimpleHttpCommandProcessor |
|---|
execute, getBase, setBase |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public J2EEFormHttpCommandProcessor()
public J2EEFormHttpCommandProcessor(java.lang.String base,
java.lang.String login,
java.lang.String password)
| Method Detail |
|---|
public final void setLogin(java.lang.String login)
public final void setPassword(java.lang.String password)
public final int execute(HttpCommand command,
java.io.OutputStream ostream)
throws java.io.IOException
HttpCommandProcessor
execute in interface HttpCommandProcessorexecute in class SimpleHttpCommandProcessorostream - The stream where to write the response; may be null.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||