Uses of Class
com.sun.net.httpserver.HttpPrincipal
Packages that use HttpPrincipal
包
描述
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修饰符和类方法描述Authenticator.Success.getPrincipal()
Returns the authenticated userPrincipal
.abstract HttpPrincipal
HttpExchange.getPrincipal()
If an authenticator is set on theHttpContext
that owns this exchange, then this method will return theHttpPrincipal
that represents the authenticated user for thisHttpExchange
.Constructors in com.sun.net.httpserver with parameters of type HttpPrincipal