org.littleshoot.proxy.impl.ClientDetails Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of littleproxy Show documentation
Show all versions of littleproxy Show documentation
LittleProxy is a high performance HTTP proxy written in Java and using the Netty networking framework.
The newest version!
package org.littleshoot.proxy.impl;
import java.net.InetSocketAddress;
/**
* Contains information about the client.
*/
public class ClientDetails {
/**
* The username that was used for authentication, or null if authentication wasn't performed.
*/
private volatile String userName;
/**
* The client's address
*/
private volatile InetSocketAddress clientAddress;
public String getUserName() {
return userName;
}
void setUserName(String userName) {
this.userName = userName;
}
public InetSocketAddress getClientAddress() {
return clientAddress;
}
void setClientAddress(InetSocketAddress clientAddress) {
this.clientAddress = clientAddress;
}
}