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

io.datakernel.http.decoder.AbstractDecoder Maven / Gradle / Ivy

package io.datakernel.http.decoder;

/**
 * Abstract implementation of {@link Decoder} that allows to give its id as
 * a constructor parameter instead of implementing a getter for it.
 */
public abstract class AbstractDecoder implements Decoder {
	private final String id;

	public AbstractDecoder(String id) {
		this.id = id;
	}

	@Override
	public String getId() {
		return id;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy