747576777879808182838485
public void setMode(final HttpMultipartMode mode) { this.mode = mode; } protected Charset getCharset() { Entity e = getParent(); ContentTypeField cField = (ContentTypeField) e.getHeader().getField( Field.CONTENT_TYPE); Charset charset = null; switch (this.mode) { case STRICT:
9596979899100101102103104
} return charset; } protected String getBoundary() { Entity e = getParent(); ContentTypeField cField = (ContentTypeField) e.getHeader().getField( Field.CONTENT_TYPE); return cField.getBoundary(); }
727374757677787980818283
93949596979899100101102
99100101102103104105106107108109110
public void setMode(final HttpMultipartMode mode) { this.mode = mode; } protected Charset getCharset() { Entity e = getParent(); ContentTypeField cField = (ContentTypeField) e.getHeader().getField( FieldName.CONTENT_TYPE); Charset charset = null; switch (this.mode) { case STRICT:
120121122123124125126127128129
} return charset; } protected String getBoundary() { Entity e = getParent(); ContentTypeField cField = (ContentTypeField) e.getHeader().getField( FieldName.CONTENT_TYPE); return cField.getBoundary(); }