drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/http/client/Response.java
public ContentType getContentType() {
        String contentTypeString = context.getContentType();
        if (contentTypeString == null)
            return null;
        ContentType contentType = null;
        try {
            contentType = new ContentType(contentTypeString);
        } catch (IllegalArgumentException e) {
            // ignore or log?
        }
        return contentType;
    }
public ContentType getContentType() {
        String contentTypeString = context.getContentType();
        if (contentTypeString == null)
            return null;
        ContentType contentType = null;
        try {
            contentType = new ContentType(contentTypeString);
        } catch (IllegalArgumentException e) {
            // ignore or log?
        }
        return contentType;
    }
public ContentType getContentType ( ) { String contentTypeString = context . getContentType ( ) ; if ( contentTypeString == null ) return null ; ContentType contentType = null ; try { contentType = new ContentType ( contentTypeString ) ; } catch ( IllegalArgumentException e ) { // ignore or log? } return contentType ; }
Returns the content type of this response's body, or <code>null</code>
if the content type is unknown.

@return the content type of this response's body
Returns the content type of this response s body or <code > null< / code > if the content type is unknown .