Code example for HttpTransportMetricsImpl

0
    public SessionInputBufferMock( 
            final InputStream instream,
            final int buffersize,
            final MessageConstraints constrains,
            final CharsetDecoder decoder) {
        super(new HttpTransportMetricsImpl(), buffersize, -1, constrains, decoder);
        bind(instream);
    } 
 
    public SessionInputBufferMock( 
            final InputStream instream,
            final int buffersize) {
        this(instream, buffersize, null, null);
    } 
 
    public SessionInputBufferMock( 
            final byte[] bytes,
            final int buffersize,
            final MessageConstraints constrains,
            final CharsetDecoder decoder) {
        this(new ByteArrayInputStream(bytes), buffersize, constrains, decoder);