Home
last modified time | relevance | path

Searched refs:setContentType (Results 1 – 25 of 32) sorted by relevance

12

/external/apache-http/src/org/apache/http/entity/
DAbstractHttpEntity.java134 public void setContentType(final Header contentType) { in setContentType() method in AbstractHttpEntity
146 public void setContentType(final String ctString) { in setContentType() method in AbstractHttpEntity
151 setContentType(h); in setContentType()
DFileEntity.java64 setContentType(contentType); in FileEntity()
DStringEntity.java70 setContentType(HTTP.PLAIN_TEXT_TYPE + HTTP.CHARSET_PARAM + charset); in StringEntity()
/external/nist-sip/java/gov/nist/javax/sip/header/
DContentType.java88 this.setContentType(contentType, contentSubtype); in ContentType()
173 public void setContentType(String contentType, String contentSubType) { in setContentType() method in ContentType
185 public void setContentType(String contentType) throws ParseException { in setContentType() method in ContentType
DAccept.java168 public void setContentType(String type) { in setContentType() method in Accept
DHeaderFactoryImpl.java113 accept.setContentType(contentType); in createAcceptHeader()
418 c.setContentType(contentType); in createContentTypeHeader()
/external/apache-http/src/org/apache/http/client/entity/
DUrlEncodedFormEntity.java64 setContentType(URLEncodedUtils.CONTENT_TYPE); in UrlEncodedFormEntity()
78 setContentType(URLEncodedUtils.CONTENT_TYPE); in UrlEncodedFormEntity()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DAcceptParser.java80 accept.setContentType(token.getTokenValue()); in parse()
98 accept.setContentType(token.getTokenValue()); in parse()
DContentTypeParser.java69 contentType.setContentType(type.getTokenValue()); in parse()
/external/robolectric-shadows/shadows/httpclient/src/test/java/org/robolectric/shadows/httpclient/
DParamsParserTest.java18 entity.setContentType("application/x-www-form-urlencoded"); in parseParams_shouldParsePostEntitiesIntoParams()
28 entity.setContentType("application/x-www-form-urlencoded"); in parseParams_shouldParsePutEntitiesIntoParams()
/external/nist-sip/java/javax/sip/header/
DMediaType.java10 void setContentType(String contentType) throws ParseException; in setContentType() method
DContentTypeHeader.java9 void setContentType(String contentType, String contentSubType) in setContentType() method
/external/apache-http/android/src/com/android/internal/http/multipart/
DPartBase.java124 public void setContentType(String contentType) { in setContentType() method in PartBase
DMultipartEntity.java143 setContentType(MULTIPART_FORM_CONTENT_TYPE); in MultipartEntity()
/external/grpc-grpc-java/gae-interop-testing/gae-jdk8/src/main/java/io/grpc/testing/integration/
DLongLivedChannel.java67 resp.setContentType("text/plain"); in doGet()
DNettyClientInteropServlet.java93 resp.setContentType("text/plain"); in doGetHelper()
/external/apache-http/src/org/apache/http/impl/entity/
DEntityDeserializer.java99 entity.setContentType(contentTypeHeader); in doDeserialize()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAudioManagerTest.java270 new AudioAttributes.Builder().setContentType(AudioAttributes.CONTENT_TYPE_MOVIE).build(); in getActivePlaybackConfigurations()
272 new AudioAttributes.Builder().setContentType(AudioAttributes.CONTENT_TYPE_MUSIC).build(); in getActivePlaybackConfigurations()
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/util/
DAsyncHttpURLConnection.java49 public void setContentType(String contentType) { in setContentType() method in AsyncHttpURLConnection
/external/libphonenumber/demo/src/com/google/phonenumbers/
DPhoneNumberParserServlet.java104 resp.setContentType("text/html"); in doPost()
135 resp.setContentType("text/html"); in doGet()
/external/grpc-grpc-java/gae-interop-testing/gae-jdk7/src/main/java/io/grpc/testing/integration/
DOkHttpClientInteropServlet.java98 resp.setContentType("text/plain"); in doGetHelper()
/external/apache-http/src/org/apache/http/protocol/
DHttpService.java234 entity.setContentType("text/plain; charset=US-ASCII"); in handleException()
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
DOkApacheClient.java94 entity.setContentType(value); in transformResponse()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/media/
DBluetoothMediaPlayback.java108 return builder.setContentType(contentType).setUsage(usage).build(); in createAudioAttributes()
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
DAutoEscaper.java280 autoEscapeContext.setContentType(contentType); in caseAContentTypeCommand()

12