export enum ContentType { // response ContentType HTML = 'text/html', TEXT = 'text/plain', XML_TEXT = 'text/xml', GIF = 'image/gif', JPEG = 'image/jpeg', PNG = 'image/png', // request contentType XHTML = 'application/xhtml+xml', XML = 'application/xml', ATOM_XML = 'application/atom+xml', JSON = 'application/json;charset=UTF-8', PDF = 'application/pdf', MS_WORD = 'application/msword', OCTET_STREAM = 'application/octet-stream', FORM = 'application/x-www-form-urlencoded;charset=UTF-8' } export enum RestfulClientState { CUSTOMED_RESOURCE = 0 }