Class AuthBasic.BasicUser
- java.lang.Object
-
- com.github.fmjsjx.libnetty.http.server.HttpServer.AbstractUser
-
- com.github.fmjsjx.libnetty.http.server.middleware.AuthBasic.BasicUser
-
- All Implemented Interfaces:
HttpServer.User
- Enclosing class:
- AuthBasic
public static final class AuthBasic.BasicUser extends HttpServer.AbstractUser
AHttpServer.Userholding the username parsed from the "HTTP Basic Authentication" protocol.- Since:
- 1.1
-
-
Field Summary
-
Fields inherited from interface com.github.fmjsjx.libnetty.http.server.HttpServer.User
KEY
-
-
Constructor Summary
Constructors Constructor Description BasicUser(java.lang.String username)Constructs a newAuthBasic.BasicUserinstance with the specifiedusername.
-
Method Summary
-
Methods inherited from class com.github.fmjsjx.libnetty.http.server.HttpServer.AbstractUser
toString, username
-
-
-
-
Constructor Detail
-
BasicUser
public BasicUser(java.lang.String username)
Constructs a newAuthBasic.BasicUserinstance with the specifiedusername.- Parameters:
username- the username parsed from the "HTTP Basic Authentication" protocol
-
-