com.github.dreamhead.moco.internal.ServerConfig 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.internal;
public class ServerConfig {
private int headerSize;
private int contentLength;
public ServerConfig(final int maxHeaderSize, int maxContentLength) {
this.headerSize = maxHeaderSize;
this.contentLength = maxContentLength;
}
public int getHeaderSize() {
return headerSize;
}
public int getContentLength() {
return contentLength;
}
}