Author: chris.laprun(a)jboss.com
Date: 2010-04-26 05:09:54 -0400 (Mon, 26 Apr 2010)
New Revision: 2767
Modified:
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/MarkupProcessor.java
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/handler/RequestHeaderClientHandler.java
Log:
- Clean-ups.
Modified:
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/MarkupProcessor.java
===================================================================
---
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/MarkupProcessor.java 2010-04-26
08:36:54 UTC (rev 2766)
+++
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/MarkupProcessor.java 2010-04-26
09:09:54 UTC (rev 2767)
@@ -42,10 +42,7 @@
private final URLFormat format;
private final Set<String> supportedCustomModes;
private final Set<String> supportedCustomWindowStates;
- private final String serverAddress;
- private final String portletApplicationName;
private final String namespace;
- public static final int URL_DELIMITER_LENGTH =
WSRPRewritingConstants.RESOURCE_URL_DELIMITER.length();
protected MarkupProcessor(String namespace, PortletInvocationContext context,
org.gatein.pc.api.PortletContext target, URLFormat format, ProducerInfo info)
{
@@ -54,8 +51,6 @@
this.format = format;
supportedCustomModes = info.getSupportedCustomModes();
supportedCustomWindowStates = info.getSupportedCustomWindowStates();
- serverAddress = info.getEndpointConfigurationInfo().getRemoteHostAddress();
- portletApplicationName = target.getApplicationName();
}
public String getReplacementFor(String match, String prefix, String suffix)
Modified:
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/handler/RequestHeaderClientHandler.java
===================================================================
---
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/handler/RequestHeaderClientHandler.java 2010-04-26
08:36:54 UTC (rev 2766)
+++
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/handler/RequestHeaderClientHandler.java 2010-04-26
09:09:54 UTC (rev 2767)
@@ -47,10 +47,6 @@
public class RequestHeaderClientHandler implements SOAPHandler<SOAPMessageContext>
{
private static final ThreadLocal<CurrentInfo> local = new
ThreadLocal<CurrentInfo>();
- /*private static final RFC2109Spec cookieParser = new RFC2109Spec();
- private static final Logger log =
LoggerFactory.getLogger(RequestHeaderClientHandler.class);
- private static final String SET_COOKIE = "Set-Cookie";
- private static final String COOKIE = "Cookie";*/
public Set<QName> getHeaders()
{
Show replies by date