@@ -168,7 +168,7 @@ public class RequestServer implements IRequestServer {
168168
169169 @NonNull
170170 @Override
171- public IHttpPostBodyStrategy getBodyType () {
171+ public IHttpBodyStrategy getBodyType () {
172172 // Parameters submitted in Json format (default is form)
173173 return RequestBodyType . JSON ;
174174 }
@@ -318,7 +318,7 @@ public final class UpdateImageApi implements IRequestApi, IRequestBodyType {
318318
319319 @NonNull
320320 @Override
321- public IHttpPostBodyStrategy getBodyType () {
321+ public IHttpBodyStrategy getBodyType () {
322322 // File upload needs to use the form method
323323 return RequestBodyType . FORM ;
324324 }
@@ -822,7 +822,7 @@ public class XxxServer implements IRequestServer {
822822
823823 @NonNull
824824 @Override
825- public IHttpPostBodyStrategy getBodyType () {
825+ public IHttpBodyStrategy getBodyType () {
826826 return RequestBodyType . FORM ;
827827 }
828828}
@@ -841,7 +841,7 @@ public class XxxServer implements IRequestServer {
841841
842842 @NonNull
843843 @Override
844- public IHttpPostBodyStrategy getBodyType () {
844+ public IHttpBodyStrategy getBodyType () {
845845 return RequestBodyType . JSON ;
846846 }
847847}
@@ -860,7 +860,7 @@ public final class XxxApi implements IRequestApi, IRequestBodyType {
860860
861861 @NonNull
862862 @Override
863- public IHttpPostBodyStrategy getBodyType () {
863+ public IHttpBodyStrategy getBodyType () {
864864 return RequestBodyType . JSON ;
865865 }
866866}
0 commit comments