blob: 24c5b728edc92a3b8f253337e95bd205b648fc99 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*/
package org.apache.directory.shared.ldap.client.api.messages;
/**
* An class Intermediate responses.
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
public class IntermediateResponse extends AbstractMessage
{
/** The Response OID */
private String responseName;
/** The response value */
private byte[] responseValue;
/**
* Creates a new instance of IntermediateResponseImpl.
*/
public IntermediateResponse()
{
super();
}
/**
* Get the original response OID.
*
* @return The response OID
*/
public String getResponseName()
{
return responseName;
}
/**
* Sets the original response OID
*
* @param responseName The response OID
*/
public void setResponseName( String responseName )
{
this.responseName = responseName;
}
/**
* Get the associated response value
*
* @return The response value
*/
public byte[] getResponseValue()
{
return responseValue;
}
/**
* Sets the response's value
*
* @param responseValue The associated response's value
*/
public void setResponseValue( byte[] responseValue )
{
this.responseValue = responseValue;
}
}