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

org.mockserver.netty.unification.PortBinding Maven / Gradle / Ivy

There is a newer version: 5.15.0
Show newest version
package org.mockserver.netty.unification;

import org.mockserver.model.ObjectWithJsonToString;

import java.net.InetSocketAddress;

public class PortBinding extends ObjectWithJsonToString {

    private final InetSocketAddress inetSocketAddress;
    private final String portExtension;

    public PortBinding(InetSocketAddress inetSocketAddress, String portExtension) {
        this.inetSocketAddress = inetSocketAddress;
        this.portExtension = portExtension;
    }

    public InetSocketAddress getInetSocketAddress() {
        return inetSocketAddress;
    }

    public String getPortExtension() {
        return portExtension;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy