cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Liu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-3472) Cannot override HTTPConduit's handleResponse() method
Date Tue, 26 Apr 2011 07:46:03 GMT

     [ https://issues.apache.org/jira/browse/CXF-3472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Liu updated CXF-3472:
---------------------------

    Description: 
  Current, all response message processing of HTTPConduit is in the class WrappedOutputStream,
e.g. handleResponse(), and handleResponseInternal() method, so we cannot extend HTTPConduit
to override both method if we want to add more functions during processing response. because
the class WrappedOutputStream need some input parameter and the its sub-class cannot get these
private properties.
  My use case is: I have my customized HTTPConduit which needs to override handleResponse()
method to catch its instead of cxf's default logic.

  Can cxf move both meothd from WrappedOutputStream class to HTTPConduit so that we can override
them? thanks.

David

  was:
  Current, all response message processing of HTTPConduit is in the class WrappedOutputStream,
e.g. handleResponse(), and handleResponseInternal() method. It is not very easy to extend
HTTPConduit and override both method if we want to add more functions during processing response.
because the class WrappedOutputStream need some input parameter and the its sub-class cannot
get these private properties.

  Can cxf move both meothd from WrappedOutputStream class to HTTPConduit? thanks.

David

     Issue Type: Bug  (was: Improvement)
        Summary: Cannot override HTTPConduit's handleResponse() method  (was: Make HTTPConduit
easy to extend and override)

> Cannot override HTTPConduit's handleResponse() method
> -----------------------------------------------------
>
>                 Key: CXF-3472
>                 URL: https://issues.apache.org/jira/browse/CXF-3472
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>            Reporter: David Liu
>
>   Current, all response message processing of HTTPConduit is in the class WrappedOutputStream,
e.g. handleResponse(), and handleResponseInternal() method, so we cannot extend HTTPConduit
to override both method if we want to add more functions during processing response. because
the class WrappedOutputStream need some input parameter and the its sub-class cannot get these
private properties.
>   My use case is: I have my customized HTTPConduit which needs to override handleResponse()
method to catch its instead of cxf's default logic.
>   Can cxf move both meothd from WrappedOutputStream class to HTTPConduit so that we can
override them? thanks.
> David

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message