/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | StatusLine.java | 6 import java.net.ProtocolException; 38 throw new ProtocolException("Unexpected status line: " + statusLine); in parse() 47 throw new ProtocolException("Unexpected status line: " + statusLine); in parse() 54 throw new ProtocolException("Unexpected status line: " + statusLine); in parse() 59 throw new ProtocolException("Unexpected status line: " + statusLine); in parse() 65 throw new ProtocolException("Unexpected status line: " + statusLine); in parse() 73 throw new ProtocolException("Unexpected status line: " + statusLine); in parse()
|
D | RetryableSink.java | 20 import java.net.ProtocolException; 49 throw new ProtocolException( in close() 58 throw new ProtocolException("exceeded content-length limit of " + limit + " bytes"); in write()
|
D | Http1xStream.java | 28 import java.net.ProtocolException; 285 throw new ProtocolException("expected " + bytesRemaining in write() 300 if (bytesRemaining > 0) throw new ProtocolException("unexpected end of stream"); in close() 396 throw new ProtocolException("unexpected end of stream"); in read() 442 throw new ProtocolException("unexpected end of stream"); in read() 457 throw new ProtocolException("expected chunk size and optional extensions but was \"" in readChunkSize() 461 throw new ProtocolException(e.getMessage()); in readChunkSize()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/ |
D | StatusLine.java | 7 import java.net.ProtocolException; 40 throw new ProtocolException("Unexpected status line: " + statusLine); in parse() 49 throw new ProtocolException("Unexpected status line: " + statusLine); in parse() 56 throw new ProtocolException("Unexpected status line: " + statusLine); in parse() 61 throw new ProtocolException("Unexpected status line: " + statusLine); in parse() 67 throw new ProtocolException("Unexpected status line: " + statusLine); in parse() 75 throw new ProtocolException("Unexpected status line: " + statusLine); in parse()
|
D | RetryableSink.java | 21 import java.net.ProtocolException; 51 throw new ProtocolException( in close() 60 throw new ProtocolException("exceeded content-length limit of " + limit + " bytes"); in write()
|
D | Http1xStream.java | 29 import java.net.ProtocolException; 287 throw new ProtocolException("expected " + bytesRemaining in write() 302 if (bytesRemaining > 0) throw new ProtocolException("unexpected end of stream"); in close() 398 throw new ProtocolException("unexpected end of stream"); in read() 444 throw new ProtocolException("unexpected end of stream"); in read() 459 throw new ProtocolException("expected chunk size and optional extensions but was \"" in readChunkSize() 463 throw new ProtocolException(e.getMessage()); in readChunkSize()
|
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/ |
D | WebSocketReader.java | 23 import java.net.ProtocolException; 118 throw new ProtocolException("Control frames must be final."); in readHeader() 126 throw new ProtocolException("Reserved flags are unsupported."); in readHeader() 134 throw new ProtocolException("Client-sent frames must be masked. Server sent must not."); in readHeader() 144 throw new ProtocolException( in readHeader() 151 throw new ProtocolException("Control frame must be less than " + PAYLOAD_BYTE_MAX + "B."); in readHeader() 192 throw new ProtocolException("Malformed close payload length of 1."); in readControlFrame() 196 throw new ProtocolException("Code must be in range [1000,5000): " + code); in readControlFrame() 199 throw new ProtocolException("Code " + code + " is reserved and may not be used."); in readControlFrame() 209 throw new ProtocolException("Unknown control opcode: " + toHexString(opcode)); in readControlFrame() [all …]
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/ |
D | WebSocketReaderTest.java | 22 import java.net.ProtocolException; 56 } catch (ProtocolException e) { in controlFramesMustBeFinal() 66 } catch (ProtocolException e) { in reservedFlagsAreUnsupported() 74 } catch (ProtocolException e) { in reservedFlagsAreUnsupported() 82 } catch (ProtocolException e) { in reservedFlagsAreUnsupported() 92 } catch (ProtocolException e) { in clientSentFramesMustBeMasked() 102 } catch (ProtocolException e) { in serverSentFramesMustNotBeMasked() 112 } catch (ProtocolException e) { in controlFramePayloadMax() 146 } catch (ProtocolException e) { in clientFramePayloadTooLongThrows() 249 } catch (ProtocolException e) { in twoFrameNotContinuation() [all …]
|
/external/apache-http/src/org/apache/http/impl/entity/ |
D | LaxContentLengthStrategy.java | 39 import org.apache.http.ProtocolException; 209 throw new ProtocolException in determineLength() 220 throw new ProtocolException("Unsupported transfer encoding: " + encoding); in determineLength() 233 throw new ProtocolException("Chunk-encoding must be the last one applied"); in determineLength() 241 throw new ProtocolException("Multiple content length headers"); in determineLength() 250 throw new ProtocolException("Invalid content length: " + header.getValue()); in determineLength()
|
D | StrictContentLengthStrategy.java | 38 import org.apache.http.ProtocolException; 201 throw new ProtocolException( in determineLength() 209 throw new ProtocolException( in determineLength() 218 throw new ProtocolException("Invalid content length: " + s); in determineLength()
|
/external/apache-http/src/org/apache/http/ |
D | ProtocolException.java | 47 public class ProtocolException extends HttpException { class 54 public ProtocolException() { in ProtocolException() method in ProtocolException 63 public ProtocolException(String message) { in ProtocolException() method in ProtocolException 74 public ProtocolException(String message, Throwable cause) { in ProtocolException() method in ProtocolException
|
D | UnsupportedHttpVersionException.java | 34 import org.apache.http.ProtocolException; 48 public class UnsupportedHttpVersionException extends ProtocolException {
|
/external/apache-http/src/org/apache/http/impl/client/ |
D | DefaultRedirectHandler.java | 44 import org.apache.http.ProtocolException; 100 final HttpContext context) throws ProtocolException { in getLocationURI() 108 throw new ProtocolException( in getLocationURI() 121 throw new ProtocolException("Invalid redirect URI: " + location, ex); in getLocationURI() 129 throw new ProtocolException("Relative redirect location '" in getLocationURI() 148 throw new ProtocolException(ex.getMessage(), ex); in getLocationURI() 171 throw new ProtocolException(ex.getMessage(), ex); in getLocationURI()
|
D | RequestWrapper.java | 38 import org.apache.http.ProtocolException; 74 public RequestWrapper(final HttpRequest request) throws ProtocolException { in RequestWrapper() 91 throw new ProtocolException("Invalid request URI: " in RequestWrapper()
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/ |
D | WebSocketCallTest.java | 28 import java.net.ProtocolException; 94 listener.assertFailure(ProtocolException.class, "Expected HTTP 101 response but was '200 OK'"); in okButNotOk() 100 listener.assertFailure(ProtocolException.class, in notFound() 110 listener.assertFailure(ProtocolException.class, in missingConnectionHeader() 121 listener.assertFailure(ProtocolException.class, in wrongConnectionHeader() 131 listener.assertFailure(ProtocolException.class, in missingUpgradeHeader() 142 listener.assertFailure(ProtocolException.class, in wrongUpgradeHeader() 152 listener.assertFailure(ProtocolException.class, in missingMagicHeader() 163 listener.assertFailure(ProtocolException.class, in wrongMagicHeader()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | SocksProxy.java | 23 import java.net.ProtocolException; 120 throw new ProtocolException("unsupported version: " + version); in hello() 138 throw new ProtocolException("unsupported method: " + selectedMethod); in hello() 146 if (version != VERSION_5) throw new ProtocolException("unexpected version: " + version); in acceptCommand() 149 if (reserved != 0) throw new ProtocolException("unexpected reserved: " + reserved); in acceptCommand() 168 throw new ProtocolException("unsupported address type: " + addressType); in acceptCommand() 178 throw new ProtocolException("unexpected address: " + toSocket.getLocalAddress()); in acceptCommand() 200 throw new ProtocolException("unexpected command: " + command); in acceptCommand()
|
/external/apache-http/src/org/apache/http/protocol/ |
D | RequestContent.java | 43 import org.apache.http.ProtocolException; 72 throw new ProtocolException("Transfer-encoding header already present"); in process() 75 throw new ProtocolException("Content-Length header already present"); in process() 86 throw new ProtocolException( in process()
|
D | ResponseContent.java | 43 import org.apache.http.ProtocolException; 72 throw new ProtocolException("Transfer-encoding header already present"); in process() 75 throw new ProtocolException("Content-Length header already present"); in process()
|
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/ |
D | WebSocketCall.java | 29 import java.net.ProtocolException; 120 throw new ProtocolException("Expected HTTP 101 response but was '" in createWebSocket() 129 throw new ProtocolException( in createWebSocket() 134 throw new ProtocolException( in createWebSocket() 140 throw new ProtocolException("Expected 'Sec-WebSocket-Accept' header value '" in createWebSocket()
|
/external/apache-http/src/org/apache/http/client/ |
D | NonRepeatableRequestException.java | 33 import org.apache.http.ProtocolException; 48 public class NonRepeatableRequestException extends ProtocolException {
|
D | RedirectException.java | 33 import org.apache.http.ProtocolException; 47 public class RedirectException extends ProtocolException {
|
/external/apache-http/src/org/apache/http/auth/ |
D | AuthenticationException.java | 33 import org.apache.http.ProtocolException; 47 public class AuthenticationException extends ProtocolException {
|
D | MalformedChallengeException.java | 33 import org.apache.http.ProtocolException; 48 public class MalformedChallengeException extends ProtocolException {
|
/external/apache-http/src/org/apache/http/cookie/ |
D | MalformedCookieException.java | 34 import org.apache.http.ProtocolException; 49 public class MalformedCookieException extends ProtocolException {
|
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/ |
D | HttpURLConnectionImpl.java | 53 import java.net.ProtocolException; 245 throw new ProtocolException("This protocol does not support input"); in getInputStream() 266 throw new ProtocolException("method does not support a request body: " + method); in getOutputStream() 268 throw new ProtocolException("cannot write request body after response has been read"); in getOutputStream() 332 throw new ProtocolException(method + " does not support writing"); in initHttpEngine() 424 throw new ProtocolException("Too many follow-up requests: " + followUpCount); in getResponse() 625 @Override public void setRequestMethod(String method) throws ProtocolException { in setRequestMethod() 627 throw new ProtocolException("Expected one of " + METHODS + " but was " + method); in setRequestMethod()
|