All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.littleshoot.proxy.impl.ClientDetails Maven / Gradle / Ivy

Go to download

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy