Zone Type Interfaces
The interface for the IPortalZoneHandler is illustrated below:

package com.splwg.base.web.portal;

import java.io.IOException;
import java.io.OutputStream;

import javax.servlet.ServletException;

public interface IPortalZoneHandler {

    void handleRequest(IUserZone zone, OutputStream outStream) throws ServletException, IOException;

    void setParameter(String parameterName, String value);
}

The interface for the IUserZone is illustrated below:

package com.splwg.base.web.portal;

import java.io.IOException;
import java.io.OutputStream;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;

public interface IUserZone {

    HttpServletRequest getRequest();

    ServletContext getServletContext();

    String getLanguage();

    boolean isLanguageLTR();

    String getSequenceId();

    String getName();

    void emitZoneLimitMessage(OutputStream out) throws IOException;

    void emitGetAll(OutputStream out) throws IOException;
}
Note:
OutputStream is a binary stream for UTF-8 encoded characters.