public class CleanupCommand extends AbstractProxyCommand
Command
responsible for cleaning up all the resources
(such as HttpRequestBase
, HttpResponse
, HttpEntity
and HttpClient
)
used during reverse proxy processing in the previous steps.Constructor and Description |
---|
CleanupCommand() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
executeInternal(ProxyContext context)
Execute a unit of processing work to be performed.
|
destroy, execute, initialize
protected boolean executeInternal(ProxyContext context) throws ReverseProxyException, IOException
Execute a unit of processing work to be performed. This
AbstractProxyCommand
may either complete the required processing
and return true
, or delegate remaining processing
to the next AbstractProxyCommand
in a ProxyProcessingChain
containing this
AbstractProxyCommand
by returning false
.
executeInternal
in class AbstractProxyCommand
ReverseProxyException
IOException
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.