annotate src/org/eclipse/jetty/http/HttpBuffers.java @ 880:00b3bd6e0ada

remove Server._graceful
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 04 Oct 2016 15:59:35 -0600
parents 688b875e18ba
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
802
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
1 //
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2 // ========================================================================
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
3 // Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd.
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
4 // ------------------------------------------------------------------------
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5 // All rights reserved. This program and the accompanying materials
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
6 // are made available under the terms of the Eclipse Public License v1.0
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7 // and Apache License v2.0 which accompanies this distribution.
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
8 //
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
9 // The Eclipse Public License is available at
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10 // http://www.eclipse.org/legal/epl-v10.html
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
11 //
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
12 // The Apache License v2.0 is available at
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
13 // http://www.opensource.org/licenses/apache2.0.php
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
14 //
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
15 // You may elect to redistribute this code under either of these licenses.
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
16 // ========================================================================
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
17 //
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
18
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
19 package org.eclipse.jetty.http;
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
20
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
21 import org.eclipse.jetty.io.Buffers;
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
22
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
23 /* ------------------------------------------------------------ */
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
24 /** Abstract Buffer pool.
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
25 */
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
26 public interface HttpBuffers
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
27 {
868
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
28 /**
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
29 * @return the requestBufferSize
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
30 */
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
31 public int getRequestBufferSize();
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
32
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
33 /**
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
34 * @param requestBufferSize the requestBufferSize to set
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
35 */
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
36 public void setRequestBufferSize(int requestBufferSize);
802
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
37
868
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
38 /**
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
39 * @return the requestHeaderSize
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
40 */
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
41 public int getRequestHeaderSize();
802
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
42
868
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
43 /**
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
44 * @param requestHeaderSize the requestHeaderSize to set
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
45 */
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
46 public void setRequestHeaderSize(int requestHeaderSize);
802
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
47
868
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
48 /**
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
49 * @return the responseBufferSize
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
50 */
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
51 public int getResponseBufferSize();
802
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
52
868
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
53 /**
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
54 * @param responseBufferSize the responseBufferSize to set
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
55 */
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
56 public void setResponseBufferSize(int responseBufferSize);
802
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
57
868
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
58 /**
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
59 * @return the responseHeaderSize
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
60 */
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
61 public int getResponseHeaderSize();
802
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
62
868
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
63 /**
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
64 * @param responseHeaderSize the responseHeaderSize to set
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
65 */
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
66 public void setResponseHeaderSize(int responseHeaderSize);
802
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
67
868
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
68 /**
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
69 * @return the requestBufferType
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
70 */
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
71 public Buffers.Type getRequestBufferType();
802
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
72
868
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
73 /**
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
74 * @return the requestHeaderType
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
75 */
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
76 public Buffers.Type getRequestHeaderType();
802
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
77
868
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
78 /**
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
79 * @return the responseBufferType
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
80 */
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
81 public Buffers.Type getResponseBufferType();
802
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
82
868
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
83 /**
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
84 * @return the responseHeaderType
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
85 */
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
86 public Buffers.Type getResponseHeaderType();
802
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
87
868
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
88 /**
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
89 * @param requestBuffers the requestBuffers to set
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
90 */
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
91 public void setRequestBuffers(Buffers requestBuffers);
802
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
92
868
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
93 /**
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
94 * @param responseBuffers the responseBuffers to set
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
95 */
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
96 public void setResponseBuffers(Buffers responseBuffers);
802
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
97
868
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
98 public Buffers getRequestBuffers();
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
99
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
100 public Buffers getResponseBuffers();
802
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
101
868
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
102 public int getMaxBuffers();
688b875e18ba remove ThreadLocalBuffers
Franklin Schmidt <fschmidt@gmail.com>
parents: 802
diff changeset
103
802
3428c60d7cfc replace jetty jars with source
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
104 }