Package org.littleshoot.proxy.impl
Class ClientDetails
- java.lang.Object
-
- org.littleshoot.proxy.impl.ClientDetails
-
public class ClientDetails extends Object
Contains information about the client.
-
-
Field Summary
Fields Modifier and Type Field Description private InetSocketAddressclientAddressThe client's addressprivate StringuserNameThe user name that was used for authentication, or null if authentication wasn't performed.
-
Constructor Summary
Constructors Constructor Description ClientDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InetSocketAddressgetClientAddress()StringgetUserName()(package private) voidsetClientAddress(InetSocketAddress clientAddress)(package private) voidsetUserName(String userName)
-
-
-
Field Detail
-
userName
private volatile String userName
The user name that was used for authentication, or null if authentication wasn't performed.
-
clientAddress
private volatile InetSocketAddress clientAddress
The client's address
-
-
Method Detail
-
getUserName
public String getUserName()
-
setUserName
void setUserName(String userName)
-
getClientAddress
public InetSocketAddress getClientAddress()
-
setClientAddress
void setClientAddress(InetSocketAddress clientAddress)
-
-