com.github.dreamhead.moco.model.DefaultSocketRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of moco-core Show documentation
Show all versions of moco-core Show documentation
Moco is an easy setup stub framework, mainly focusing on testing and integration.
package com.github.dreamhead.moco.model;
import com.github.dreamhead.moco.SocketRequest;
public final class DefaultSocketRequest implements SocketRequest {
private final MessageContent content;
public DefaultSocketRequest(final MessageContent content) {
this.content = content;
}
@Override
public MessageContent getContent() {
return this.content;
}
}