Uses of Class
com.sun.net.httpserver.HttpPrincipal
| Package | Description |
|---|---|
| com.sun.net.httpserver |
Provides a simple high-level Http server API, which can be used to build
embedded HTTP servers.
|
-
Uses of HttpPrincipal in com.sun.net.httpserver
Methods in com.sun.net.httpserver that return HttpPrincipal Modifier and Type Method Description HttpPrincipalAuthenticator.Success. getPrincipal()returns the authenticated user Principalabstract HttpPrincipalHttpExchange. getPrincipal()If an authenticator is set on the HttpContext that owns this exchange, then this method will return theHttpPrincipalthat represents the authenticated user for this HttpExchange.Constructors in com.sun.net.httpserver with parameters of type HttpPrincipal Constructor Description Success(HttpPrincipal p)