Home / Class/ AbstractSocket Class — spring-boot Architecture

AbstractSocket Class — spring-boot Architecture

Architecture documentation for the AbstractSocket class in AbstractSocket.java from the spring-boot codebase.

Entity Profile

Source Code

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/socket/AbstractSocket.java lines 31–89

class AbstractSocket extends Socket {

	@Override
	public void connect(SocketAddress endpoint) throws IOException {
	}

	@Override
	public void connect(SocketAddress endpoint, int timeout) throws IOException {
	}

	@Override
	public boolean isConnected() {
		return true;
	}

	@Override
	public boolean isBound() {
		return true;
	}

	@Override
	public void shutdownInput() throws IOException {
		throw new UnsupportedSocketOperationException();
	}

	@Override
	public void shutdownOutput() throws IOException {
		throw new UnsupportedSocketOperationException();
	}

	@Override
	public @Nullable InetAddress getInetAddress() {
		return null;
	}

	@Override
	public @Nullable InetAddress getLocalAddress() {
		return null;
	}

	@Override
	public @Nullable SocketAddress getLocalSocketAddress() {
		return null;
	}

	@Override
	public @Nullable SocketAddress getRemoteSocketAddress() {
		return null;
	}

	private static class UnsupportedSocketOperationException extends UnsupportedOperationException {

		UnsupportedSocketOperationException() {
			super("Unsupported socket operation");
		}

	}

}

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free