Changed mimetype fields to match the new structure.
Added helper class for using mimetypes.
New Type field in Link. Type field contains the mime type of the referenced entity.
Added helper to api
Chaned BaseData to include the new Type field in Links.
Refactore sendRequest to use Links. This way all of the things related to the operation wanted can be done inside the sendRequest method.
Changed sendRequest-calls to reflect the new method signature.
Added empty fields to links to use the new constructor.
Now that the link is available in sendRequest, using the Verb-enum is not required.
Fixed test
Refactored addMimeTypeAcceptToRequest and AddMimeTypeContentTypeToRequest to use the new MimeTypeHelper.
When creating a object in NFleet server, the response does not contain the type of the entity. Use the type contained in the Link
Code formatting and using the new Link constructor.
StringTokenizer.
Use the new sendRequest method.
doOutput method to be used with the textual representation of verbs that come from Link objects.
Refactoring.
Couple of new tests.
Couple of changes.