Back to project page couchbase-lite-android.
The source code is released under:
Apache License
If you think the Android project couchbase-lite-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.couchbase.lite.mockserver; //w ww. j a v a 2 s . co m import com.squareup.okhttp.mockwebserver.MockResponse; import com.squareup.okhttp.mockwebserver.RecordedRequest; public class MockChangesFeedNoResponse implements SmartMockResponse { private boolean isSticky; private long delayMs; @Override public MockResponse generateMockResponse(RecordedRequest request) { return new MockResponse(); } @Override public boolean isSticky() { return this.isSticky; } public void setSticky(boolean isSticky) { this.isSticky = isSticky; } @Override public long delayMs() { return this.delayMs; } public void setDelayMs(long delayMs) { this.delayMs = delayMs; } }