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