File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
src/main/java/com/twilio/http Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 11package com .twilio .http ;
22
3+
4+ import com .twilio .constant .EnumConstants .ContentType ;
35import com .twilio .exception .ApiException ;
46import com .twilio .exception .InvalidRequestException ;
57
@@ -37,6 +39,8 @@ public class Request {
3739
3840 private List <String > userAgentExtensions ;
3941
42+ private ContentType contentType ;
43+
4044 /**
4145 * Create a new API request.
4246 *
@@ -113,6 +117,14 @@ public List<String> getUserAgentExtensions() {
113117 return this .userAgentExtensions ;
114118 }
115119
120+ public ContentType getContentType () {
121+ return contentType ;
122+ }
123+
124+ public void setContentType (ContentType contentType ) {
125+ this .contentType = contentType ;
126+ }
127+
116128 /**
117129 * Create auth string from username and password.
118130 *
You can’t perform that action at this time.
0 commit comments