Example usage for io.netty.handler.codec.rtsp RtspResponseStatuses NOT_IMPLEMENTED

List of usage examples for io.netty.handler.codec.rtsp RtspResponseStatuses NOT_IMPLEMENTED

Introduction

In this page you can find the example usage for io.netty.handler.codec.rtsp RtspResponseStatuses NOT_IMPLEMENTED.

Prototype

HttpResponseStatus NOT_IMPLEMENTED

To view the source code for io.netty.handler.codec.rtsp RtspResponseStatuses NOT_IMPLEMENTED.

Click Source Link

Document

501 Not Implemented

Usage

From source file:sas.systems.imflux.session.rtsp.SimpleRtspSession.java

License:Apache License

/**
 * Helper method for creating a Not Implemented (501) error response.
 * @param channel//  www  . jav a2  s .c  o m
 * @param request
 */
private void sendNotImplemented(Channel channel, HttpRequest request) {
    // send a 501: not implemented
    HttpResponse response = new DefaultHttpResponse(RTSP_VERSION, RtspResponseStatuses.NOT_IMPLEMENTED);
    response.headers().add(request.headers());
    sendResponse(response, channel);
}

From source file:sas.systems.unveiled.server.RtspMessageHandler.java

License:Apache License

@Override
public void describeRequestReceived(HttpRequest message, RtspParticipant participant) {
    // TODO Auto-generated method stub
    System.out.println(message);/*w  ww  .  j  a v a2s .c  o m*/
    participant.sendMessage(createErrorResponse(RtspResponseStatuses.NOT_IMPLEMENTED, message.headers()));
}

From source file:sas.systems.unveiled.server.RtspMessageHandler.java

License:Apache License

@Override
public void playRequestReceived(HttpRequest message, RtspParticipant participant) {
    // TODO Auto-generated method stub
    System.out.println(message);/*from   w ww . j a va2 s.c o m*/
    participant.sendMessage(createErrorResponse(RtspResponseStatuses.NOT_IMPLEMENTED, message.headers()));
}

From source file:sas.systems.unveiled.server.RtspMessageHandler.java

License:Apache License

@Override
public void pauseRequestReceived(HttpRequest message, RtspParticipant participant) {
    // TODO Auto-generated method stub
    System.out.println(message);//from  w  w w.j a v a2s  .  c o  m
    participant.sendMessage(createErrorResponse(RtspResponseStatuses.NOT_IMPLEMENTED, message.headers()));
}

From source file:sas.systems.unveiled.server.RtspMessageHandler.java

License:Apache License

@Override
public void getParameterRequestReceived(HttpRequest message, RtspParticipant participant) {
    // TODO Auto-generated method stub
    System.out.println(message);//  w  w  w  .  j  av  a 2  s .  c o m
    participant.sendMessage(createErrorResponse(RtspResponseStatuses.NOT_IMPLEMENTED, message.headers()));
}

From source file:sas.systems.unveiled.server.RtspMessageHandler.java

License:Apache License

@Override
public void setParameterRequestReceived(HttpRequest message, RtspParticipant participant) {
    // TODO Auto-generated method stub
    System.out.println(message);/*from  www  .j a v  a 2  s  .  c  o  m*/
    participant.sendMessage(createErrorResponse(RtspResponseStatuses.NOT_IMPLEMENTED, message.headers()));
}

From source file:sas.systems.unveiled.server.RtspMessageHandler.java

License:Apache License

@Override
public void redirectRequestReceived(HttpRequest message, RtspParticipant participant) {
    // TODO Auto-generated method stub
    System.out.println(message);//from  www .  j a  va 2 s  .c om
    participant.sendMessage(createErrorResponse(RtspResponseStatuses.NOT_IMPLEMENTED, message.headers()));
}