|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.unkrig.commons.net.http.servlett.AbstractServlett
de.unkrig.commons.net.http.servlett.HttpAuthenticationServlett
public class HttpAuthenticationServlett
A Servlett that processes the AUTHENTICATION information in the HTTp request, and passes control to the
next servlett iff authentication is successfully completed.
| Constructor Summary | |
|---|---|
HttpAuthenticationServlett(java.lang.String realm,
java.lang.String userName,
java.lang.String password)
|
|
| Method Summary | |
|---|---|
HttpResponse |
handleRequest(HttpRequest httpRequest)
Forwards the HTTP requests it receives to AbstractServlett.get(HttpRequest), AbstractServlett.head(HttpRequest), AbstractServlett.post(HttpRequest), AbstractServlett.put(HttpRequest), depending on the HTTP method. |
| Methods inherited from class de.unkrig.commons.net.http.servlett.AbstractServlett |
|---|
close, get, getOrPost, head, post, put |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpAuthenticationServlett(java.lang.String realm,
java.lang.String userName,
java.lang.String password)
| Method Detail |
|---|
@Nullable public HttpResponse handleRequest(HttpRequest httpRequest)
AbstractServlettAbstractServlett.get(HttpRequest), AbstractServlett.head(HttpRequest), AbstractServlett.post(HttpRequest), AbstractServlett.put(HttpRequest), depending on the HTTP method.
handleRequest in interface ServletthandleRequest in class AbstractServlettnull iff this handler cannot handle the httpRequest
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||