File tree Expand file tree Collapse file tree 7 files changed +77
-13
lines changed
client/src/main/java/org/asynchttpclient/request/body/multipart Expand file tree Collapse file tree 7 files changed +77
-13
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2010-2012 Sonatype, Inc . All rights reserved.
2
+ * Copyright (c) 2015 AsyncHttpClient Project . All rights reserved.
3
3
*
4
4
* This program is licensed to you under the Apache License Version 2.0,
5
5
* and you may not use this file except in compliance with the Apache License Version 2.0.
6
- * You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * You may obtain a copy of the Apache License Version 2.0 at
7
+ * http://www.apache.org/licenses/LICENSE-2.0.
7
8
*
8
9
* Unless required by applicable law or agreed to in writing,
9
10
* software distributed under the Apache License Version 2.0 is distributed on an
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2010 Ning, Inc .
2
+ * Copyright (c) 2015 AsyncHttpClient Project. All rights reserved .
3
3
*
4
- * Ning licenses this file to you under the Apache License, version 2.0
5
- * (the "License"); you may not use this file except in compliance with the
6
- * License. You may obtain a copy of the License at:
4
+ * This program is licensed to you under the Apache License Version 2.0,
5
+ * and you may not use this file except in compliance with the Apache License Version 2.0.
6
+ * You may obtain a copy of the Apache License Version 2.0 at
7
+ * http://www.apache.org/licenses/LICENSE-2.0.
7
8
*
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13
- * License for the specific language governing permissions and limitations
14
- * under the License.
9
+ * Unless required by applicable law or agreed to in writing,
10
+ * software distributed under the Apache License Version 2.0 is distributed on an
11
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ * See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
15
13
*/
16
14
package org .asynchttpclient .request .body .multipart ;
17
15
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2015 AsyncHttpClient Project. All rights reserved.
3
+ *
4
+ * This program is licensed to you under the Apache License Version 2.0,
5
+ * and you may not use this file except in compliance with the Apache License Version 2.0.
6
+ * You may obtain a copy of the Apache License Version 2.0 at
7
+ * http://www.apache.org/licenses/LICENSE-2.0.
8
+ *
9
+ * Unless required by applicable law or agreed to in writing,
10
+ * software distributed under the Apache License Version 2.0 is distributed on an
11
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ * See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
13
+ */
1
14
package org .asynchttpclient .request .body .multipart .part ;
2
15
3
16
import io .netty .buffer .ByteBuf ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2015 AsyncHttpClient Project. All rights reserved.
3
+ *
4
+ * This program is licensed to you under the Apache License Version 2.0,
5
+ * and you may not use this file except in compliance with the Apache License Version 2.0.
6
+ * You may obtain a copy of the Apache License Version 2.0 at
7
+ * http://www.apache.org/licenses/LICENSE-2.0.
8
+ *
9
+ * Unless required by applicable law or agreed to in writing,
10
+ * software distributed under the Apache License Version 2.0 is distributed on an
11
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ * See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
13
+ */
1
14
package org .asynchttpclient .request .body .multipart .part ;
2
15
3
16
import static org .asynchttpclient .util .MiscUtils .closeSilently ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2015 AsyncHttpClient Project. All rights reserved.
3
+ *
4
+ * This program is licensed to you under the Apache License Version 2.0,
5
+ * and you may not use this file except in compliance with the Apache License Version 2.0.
6
+ * You may obtain a copy of the Apache License Version 2.0 at
7
+ * http://www.apache.org/licenses/LICENSE-2.0.
8
+ *
9
+ * Unless required by applicable law or agreed to in writing,
10
+ * software distributed under the Apache License Version 2.0 is distributed on an
11
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ * See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
13
+ */
1
14
package org .asynchttpclient .request .body .multipart .part ;
2
15
3
16
import static org .asynchttpclient .request .body .multipart .Part .*;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2015 AsyncHttpClient Project. All rights reserved.
3
+ *
4
+ * This program is licensed to you under the Apache License Version 2.0,
5
+ * and you may not use this file except in compliance with the Apache License Version 2.0.
6
+ * You may obtain a copy of the Apache License Version 2.0 at
7
+ * http://www.apache.org/licenses/LICENSE-2.0.
8
+ *
9
+ * Unless required by applicable law or agreed to in writing,
10
+ * software distributed under the Apache License Version 2.0 is distributed on an
11
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ * See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
13
+ */
1
14
package org .asynchttpclient .request .body .multipart .part ;
2
15
3
16
import static java .nio .charset .StandardCharsets .US_ASCII ;
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2015 AsyncHttpClient Project. All rights reserved.
3
+ *
4
+ * This program is licensed to you under the Apache License Version 2.0,
5
+ * and you may not use this file except in compliance with the Apache License Version 2.0.
6
+ * You may obtain a copy of the Apache License Version 2.0 at
7
+ * http://www.apache.org/licenses/LICENSE-2.0.
8
+ *
9
+ * Unless required by applicable law or agreed to in writing,
10
+ * software distributed under the Apache License Version 2.0 is distributed on an
11
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ * See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
13
+ */
1
14
package org .asynchttpclient .request .body .multipart .part ;
2
15
3
16
public enum MultipartState {
You can’t perform that action at this time.
0 commit comments