REST Web Service transfer data over HTTP which must be text format only -
i came across rest web service implanted in spring, , accepting byte array input. confusion , rest implemented using http protocol , http transfer data in string format only, may json , html , xml or simple text. how byte array transferred , accepted @ server side. aware http message converters spring uses convert input appropriate data type question http data transfer not on spring implementation...
http transfer data in string format only
as say, uses string format. string
interpretation of data contained in byte[]
. data transferred/stored in form of byte[]
. if read data convert else text or maybe picture interpreting single bytes
character or maybe pixel. in case spring gives raw data of request.
Comments
Post a Comment