public ServerSessionDecoder(int maxViaLength, int maxContentTypeLength) { viaDecoder = new ViaStringDecoder(maxViaLength); contentTypeDecoder = new ContentTypeStringDecoder(maxContentTypeLength); sizeDecoder = new IntDecoder(); Reset(); }
public SingletonMessageDecoder() { sizeDecoder = new IntDecoder(); currentState = State.ChunkStart; }
public StringDecoder(int sizeQuota) { this.sizeQuota = sizeQuota; sizeDecoder = new IntDecoder(); Reset(); }