jetty-9 some renaming
This commit is contained in:
parent
7882a17581
commit
3cdd533361
|
@ -228,7 +228,7 @@ public abstract class HttpChannel
|
|||
{
|
||||
if (_response.isCommitted())
|
||||
throw new IllegalStateException("Committed before 100 Continues");
|
||||
commit(HttpGenerator.CONTINUE_100_INFO,null);
|
||||
commitResponse(HttpGenerator.CONTINUE_100_INFO,null);
|
||||
}
|
||||
_expect100Continue=false;
|
||||
}
|
||||
|
@ -444,7 +444,7 @@ public abstract class HttpChannel
|
|||
}
|
||||
|
||||
HttpGenerator.ResponseInfo info = _handler.commit();
|
||||
commit(info,buffer);
|
||||
commitResponse(info,buffer);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -779,7 +779,7 @@ public abstract class HttpChannel
|
|||
// Process content.
|
||||
if (content instanceof ByteBuffer)
|
||||
{
|
||||
commit(_handler.commit(),(ByteBuffer)content);
|
||||
commitResponse(_handler.commit(),(ByteBuffer)content);
|
||||
}
|
||||
else if (content instanceof InputStream)
|
||||
{
|
||||
|
@ -795,7 +795,7 @@ public abstract class HttpChannel
|
|||
protected abstract int write(ByteBuffer content) throws IOException;
|
||||
|
||||
/* Called by the channel or application to commit a specific response info */
|
||||
protected abstract void commit(ResponseInfo info, ByteBuffer content) throws IOException;
|
||||
protected abstract void commitResponse(ResponseInfo info, ByteBuffer content) throws IOException;
|
||||
|
||||
protected abstract int getContentBufferSize();
|
||||
|
||||
|
|
|
@ -419,7 +419,7 @@ public class Response implements HttpServletResponse
|
|||
public void sendProcessing() throws IOException
|
||||
{
|
||||
if (_channel.isExpecting102Processing() && !isCommitted())
|
||||
_channel.commit(HttpGenerator.PROGRESS_102_INFO,null);
|
||||
_channel.commitResponse(HttpGenerator.PROGRESS_102_INFO,null);
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
|
|
|
@ -51,7 +51,7 @@ public class HttpWriterTest
|
|||
}
|
||||
|
||||
@Override
|
||||
protected void commit(ResponseInfo info, ByteBuffer content) throws IOException
|
||||
protected void commitResponse(ResponseInfo info, ByteBuffer content) throws IOException
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -161,7 +161,7 @@ public class ResponseTest
|
|||
}
|
||||
|
||||
@Override
|
||||
protected void commit(ResponseInfo info, ByteBuffer content) throws IOException
|
||||
protected void commitResponse(ResponseInfo info, ByteBuffer content) throws IOException
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
|
|
|
@ -158,7 +158,7 @@ public class SSLEngineTest
|
|||
{
|
||||
for (int l=0;l<loops;l++)
|
||||
{
|
||||
System.err.print('.');
|
||||
// System.err.print('.');
|
||||
try
|
||||
{
|
||||
for (int i=0; i<numConns; ++i)
|
||||
|
@ -203,7 +203,7 @@ public class SSLEngineTest
|
|||
}
|
||||
finally
|
||||
{
|
||||
System.err.println();
|
||||
// System.err.println();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue