Home
last modified time | relevance | path

Searched refs:StatusLine (Results 1 – 25 of 39) sorted by relevance

12

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DStatusLineTest.java31 StatusLine statusLine = StatusLine.parse("HTTP/1." + version + " " + code + " " + message); in parse()
40 StatusLine statusLine = StatusLine.parse("HTTP/1." + version + " " + code + " "); in emptyMessage()
54 StatusLine statusLine = StatusLine.parse("HTTP/1." + version + " " + code); in emptyMessageAndNoLeadingSpace()
62 StatusLine statusLine = StatusLine.parse("ICY 200 OK"); in shoutcast()
113 StatusLine.parse(statusLine); in assertInvalid()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DStatusLine.java9 public final class StatusLine { class
19 public StatusLine(Protocol protocol, int code, String message) { in StatusLine() method in StatusLine
25 public static StatusLine get(Response response) { in get()
26 return new StatusLine(response.protocol(), response.code(), response.message()); in get()
29 public static StatusLine parse(String statusLine) throws IOException { in parse()
78 return new StatusLine(protocol, code, message); in parse()
/external/apache-http/src/org/apache/http/message/
DBasicHttpResponse.java39 import org.apache.http.StatusLine;
61 private StatusLine statusline;
78 public BasicHttpResponse(final StatusLine statusline, in BasicHttpResponse()
97 public BasicHttpResponse(final StatusLine statusline) { in BasicHttpResponse()
124 public StatusLine getStatusLine() { in getStatusLine()
139 public void setStatusLine(final StatusLine statusline) { in setStatusLine()
DBasicLineFormatter.java37 import org.apache.http.StatusLine;
233 public final static String formatStatusLine(final StatusLine statline, in formatStatusLine()
243 final StatusLine statline) { in formatStatusLine()
265 final StatusLine statline) { in doFormatStatusLine()
DLineFormatter.java37 import org.apache.http.StatusLine;
131 StatusLine statline) in formatStatusLine()
DBasicStatusLine.java36 import org.apache.http.StatusLine;
58 public class BasicStatusLine implements StatusLine, Cloneable {
DLineParser.java38 import org.apache.http.StatusLine;
136 StatusLine parseStatusLine( in parseStatusLine()
DBasicLineParser.java38 import org.apache.http.StatusLine;
378 StatusLine parseStatusLine(final String value, in parseStatusLine()
398 public StatusLine parseStatusLine(final CharArrayBuffer buffer, in parseStatusLine()
460 protected StatusLine createStatusLine(final ProtocolVersion ver, in createStatusLine()
/external/nist-sip/java/gov/nist/javax/sip/header/
DStatusLine.java42 public final class StatusLine extends SIPObject implements SipStatusLine { class
69 if (!(matchObj instanceof StatusLine)) in match()
71 StatusLine sl = (StatusLine) matchObj; in match()
106 public StatusLine() { in StatusLine() method in StatusLine
/external/nist-sip/java/gov/nist/javax/sip/parser/
DStatusLineParser.java72 public StatusLine parse() throws ParseException { in parse()
76 StatusLine retval = new StatusLine(); in parse()
DStringMsgParser.java376 StatusLine sl = new StatusLineParser(firstLine + "\n").parse(); in processFirstLine()
381 StatusLine.class, firstLine, rawStringMessage); in processFirstLine()
608 public StatusLine parseSIPStatusLine(String statusLine) in parseSIPStatusLine()
/external/apache-http/src/org/apache/http/impl/
DDefaultHttpResponseFactory.java39 import org.apache.http.StatusLine;
98 StatusLine statusline = new BasicStatusLine(ver, status, reason); in newHttpResponse()
104 public HttpResponse newHttpResponse(final StatusLine statusline, in newHttpResponse()
/external/nist-sip/java/gov/nist/javax/sip/message/
DSIPResponse.java45 import gov.nist.javax.sip.header.StatusLine;
74 protected StatusLine statusLine;
313 this.statusLine = new StatusLine(); in setStatusCode()
321 public StatusLine getStatusLine() { in getStatusLine()
340 this.statusLine = new StatusLine(); in setReasonPhrase()
373 public void setStatusLine(StatusLine sl) { in setStatusLine()
483 retval.statusLine = (StatusLine) this.statusLine.clone(); in clone()
513 StatusLine rline = that.statusLine; in match()
DMessageFactoryImpl.java296 StatusLine statusLine = new StatusLine(); in createResponse()
607 StatusLine statusLine = new StatusLine(); in createResponse()
663 StatusLine statusLine = new StatusLine(); in createResponse()
721 || headerClass == StatusLine.class in createRequest()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DStatusLineStub.java4 import org.apache.http.StatusLine;
6 public class StatusLineStub implements StatusLine {
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
DHttpResponseStub.java8 import org.apache.http.StatusLine;
14 @Override public StatusLine getStatusLine() { in getStatusLine()
19 @Override public void setStatusLine(StatusLine statusLine) { in setStatusLine()
/external/apache-http/src/org/apache/http/
DHttpResponse.java62 StatusLine getStatusLine(); in getStatusLine()
69 void setStatusLine(StatusLine statusline); in setStatusLine()
DStatusLine.java52 public interface StatusLine { interface
DHttpResponseFactory.java78 HttpResponse newHttpResponse(StatusLine statusline, in newHttpResponse()
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
DJavaApiConverter.java30 import com.squareup.okhttp.internal.http.StatusLine;
97 StatusLine statusLine = StatusLine.parse(extractStatusLine(httpUrlConnection)); in createOkResponseForCachePut()
224 StatusLine statusLine = StatusLine.parse(extractStatusLine(javaResponse)); in createOkResponseForCacheGet()
331 return OkHeaders.toMultimap(headers, StatusLine.get(response).toString()); in createJavaCacheResponse()
345 return OkHeaders.toMultimap(headers, StatusLine.get(response).toString()); in createJavaCacheResponse()
649 return StatusLine.get(response).toString();
657 ? StatusLine.get(response).toString()
663 return OkHeaders.toMultimap(response.headers(), StatusLine.get(response).toString());
/external/apache-http/src/org/apache/http/impl/client/
DBasicResponseHandler.java38 import org.apache.http.StatusLine;
74 StatusLine statusLine = response.getStatusLine(); in handleResponse()
/external/apache-http/src/org/apache/http/impl/io/
DHttpResponseParser.java40 import org.apache.http.StatusLine;
83 StatusLine statusline = lineParser.parseStatusLine(this.lineBuf, cursor); in parseHead()
/external/apache-http/src/org/apache/http/impl/conn/
DDefaultResponseParser.java41 import org.apache.http.StatusLine;
105 StatusLine statusline = lineParser.parseStatusLine(this.lineBuf, cursor); in parseHead()
/external/apache-http/android/src/android/net/http/
DAndroidHttpClientConnection.java29 import org.apache.http.StatusLine;
296 public StatusLine parseResponseHeader(Headers headers) in parseResponseHeader()
307 StatusLine statusline = BasicLineParser.DEFAULT.parseStatusLine( in parseResponseHeader()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCache.java26 import com.squareup.okhttp.internal.http.StatusLine;
538 StatusLine statusLine = StatusLine.parse(source.readUtf8LineStrict()); in Entry()
593 sink.writeUtf8(new StatusLine(protocol, code, message).toString()); in writeTo()

12